Zimbra and Glpi ldap integration

Discuss your pilot or production implementation with other Zimbra admins or our engineers.
karpuzvepeynir
Posts: 1
Joined: Sat Sep 13, 2014 12:52 am

Zimbra and Glpi ldap integration

Post by karpuzvepeynir »

Hello all,
Is it possible to make Glpi user authentication from Zimbra's user database?
I don't want to create users in Glpi database. I have already running Zimbra in my network. All Zimbra users can log in to Glpi that all I want.
Thanks.
ivanoz
Posts: 1
Joined: Sat Sep 13, 2014 12:53 am

Zimbra and Glpi ldap integration

Post by ivanoz »

G'day all
well I had the same task today and i was able to finish it thanks to the glpi documentation here: GLPI-Wiki/wiki/doku.php?id=en:ldap
just remember to install any missing library and keep in mind that the Zimbra's LDAP is just a normal LDAP, read and follow the instruction and you'll be able to do it too
cheers
14219Josef
Posts: 14
Joined: Sat Sep 13, 2014 1:00 am

Zimbra and Glpi ldap integration

Post by 14219Josef »

I read the instructions but I can not make it work.

What am I supposed to type into the Login Field? This is just for AD right?
Connecting to the LDAP with Thunderbird or the java LDAP EditorBrowser would require the same settings and they work fine....
Thanks for any suggestions!
Josef
ChaSer
Advanced member
Advanced member
Posts: 80
Joined: Sat Sep 13, 2014 12:49 am

Zimbra and Glpi ldap integration

Post by ChaSer »

[quote user="14219Josef"]

What am I supposed to type into the Login Field? This is just for AD right?

[/QUOTE]

I use GLPI with Active Directory and provide user logon name (samaccountname) in GLPI "Login field".

samaccountname not exist in Zimbra LDAP, so try use "uid".

And change GLPI LDAP Authentication "Connection filter" from default "(&(objectClass=user)(objectCategory=person)(!(userAccountControl:1.2.840.113556.1.4.803:=2)))" to some like:

(&(objectClass=zimbraAccount)(zimbraAccountStatus=active))
Good luck!
14219Josef
Posts: 14
Joined: Sat Sep 13, 2014 1:00 am

Zimbra and Glpi ldap integration

Post by 14219Josef »

Thanks ChaSer, but unfortunately "uid" did not solve my problem.
I know that I just can connect to the LDAP using protocol version 3, does GLPI support that? (Or can I force it to use LDAPv3?)
Thanks again!
14219Josef
Posts: 14
Joined: Sat Sep 13, 2014 1:00 am

Zimbra and Glpi ldap integration

Post by 14219Josef »

I figured it out. It's a bug.
If the password contains the symbol ">" it gets stored wrong in the mySQL DB.
May I ask one more question please?
When I search for users, none are found. When I search for groups, all the users are found.
What am I doing wrong? Thanks again!
ChaSer
Advanced member
Advanced member
Posts: 80
Joined: Sat Sep 13, 2014 12:49 am

Zimbra and Glpi ldap integration

Post by ChaSer »

Configuration of GLPI 0.72.3 thats works for me with Zimbra's 6.0.5 LDAP. Just tested :

Basedn:

rootdn (for non anonymous binds): uid=zimbra,cn=admins,cn=zimbra

Pass (for non-anonymous binds):
ChaSer
Advanced member
Advanced member
Posts: 80
Joined: Sat Sep 13, 2014 12:49 am

Zimbra and Glpi ldap integration

Post by ChaSer »

[quote user="14219Josef"]When I search for users, none are found. When I search for groups, all the users are found.

[/QUOTE]

Are You search in GLPI (in which menu) or somewhere else ?
jmahto
Posts: 7
Joined: Sat Sep 13, 2014 1:36 am

Zimbra and Glpi ldap integration

Post by jmahto »

Hello all,
Is it possible to make Glpi user authentication from Zimbra's user database?
I don't want to create users in Glpi database. I have already running Zimbra in my network. All Zimbra users can log in to Glpi that all I want.
My Configuration is -
Name : Last update : 12-12-2011 14:13

Default server : Active :

Server : Port (default=389) :

Connection filter :(&(objectClass=zimbraAccount)(zimbraAccountStatus= active))

Basedn :

rootdn (for non anonymous binds) : uid=user,ou=people,dc=rcorp,dc=in

Pass (for non-anonymous binds) :***** Login Field :uid

Comments :

Test of connection to LDAP directory

Test successful (Main server : Linux_User)
Surname :cn First name :givenname

Comments : Email :mail

Phone : Phone 2 :

Mobile phone : telephonenumber Title :

Category (class) : Select Language :preferredlanguage

Administrative number :
Able to successful authenticate above user but when i want to import the user its not shows any user.
its show - No users to be imported
Please guide me.
Thanks.
Jugeshwar
dljordaneku
Outstanding Member
Outstanding Member
Posts: 234
Joined: Fri Sep 12, 2014 10:44 pm

Zimbra and Glpi ldap integration

Post by dljordaneku »

We use GLPI also and it uses the Zimbra LDAP so it is possible.
Our basedn is ou=people, dc=domain,dc=domain,dc=domain (domain is hidden)

login field is uid
dj
Post Reply