You are not logged in.

Announcement

 Téléchargez la dernière version stable de GLPI      -     Et vous, que pouvez vous faire pour le projet GLPI ? :  Contribuer
 Download last stable version of GLPI                      -     What can you do for GLPI ? :  Contribute

#1 2006-07-06 12:41:12

jpolanco
Member
Registered: 2006-07-06
Posts: 14

LDAP problem

I have a problem with LDAP Authentication, i can´t use external authentication to AD. I get the "Invalid credentials" error. I read all the topics about this problem but they didn´t solve it.


My glpi config is:

LDAP Host:192.168.0.1
LDAP Port (default=389):389
Basedn: DC=inqal,DC=com
rootdn:administrator
Pass:************
Connection filter: None
name:samaccountname
email:mail
location:physicaldeliveryofficename
phone:telephonenumber
realname:cn


I have tried different configurations following people´s responses from this forum, but any of them worked.

Is there anything i am missing?

Hope you can help me. Thanks in advance

Offline

#2 2006-07-06 14:04:51

MoYo
GLPI - Lead
From: Poitiers
Registered: 2004-09-13
Posts: 14,513
Website

Re: LDAP problem

invalid credential means that you do not ahve the right to do something.
Maybe your admin user could not search on the LDAP


MoYo - Julien Dombre - Association INDEPNET
Contribute to GLPI :    Support     Contribute     References     Freshmeat

Offline

#3 2006-07-06 15:07:06

thibin
Member
Registered: 2006-05-10
Posts: 36

Re: LDAP problem

If you're using a windows2003 server : Instead of administrator, try administrator@yourdomainname.xxx

Last edited by thibin (2006-07-06 15:08:20)


Linux Mandrake 10.0
Apache 1.3.3.2 - PHP 4.4.2 - MySQL 4.1.11-standard
GLPI 0.68

Offline

#4 2006-07-07 10:05:31

jpolanco
Member
Registered: 2006-07-06
Posts: 14

Re: LDAP problem

I have solved the "Invalid credentials" error, but now i am getting this other error:

User not found or several users found.
Invalid credentials
User not found or several users found.

Do you know what it means?

Thanks for your help.

Offline

#5 2006-07-07 12:58:20

ifish
Member
Registered: 2006-06-15
Posts: 9

Re: LDAP problem

Try to use distinguished name in "rootdn" (something like this: "cn=administrator,ou=Users,dc=inqal,dc=com"), and try to use connection filter: (&(objectClass=user)(objectClass=person))

Offline

#6 2006-07-07 13:06:26

jpolanco
Member
Registered: 2006-07-06
Posts: 14

Re: LDAP problem

If i use distinguished name in "rootdn" ("cn=administrator,ou=Users,dc=inqal,dc=com") i get again the "Invalid credentials" error :

Invalid credentials
Invalid credentials
Invalid credentials

I think I should write just "administrator" in rootdn, because i got the other error. Other posts from the forum didn´t help me much.

Offline

#7 2006-07-07 13:13:22

tsmr
GLPI-DEV
From: Rennes
Registered: 2005-08-26
Posts: 11,632
Website

Re: LDAP problem

in rootdn you must have your ldap full path. If you have AD, user adsi edit for check the path.


Xavier Caillaud
Blog GLPI Infotel

Offline

#8 2006-07-10 09:12:22

jpolanco
Member
Registered: 2006-07-06
Posts: 14

Re: LDAP problem

I solved it using ADSI edit tool. Thanks for your help. I hadn´t written  my rootdn correctly,  but adsi edit solved it.

Offline

Board footer

Powered by FluxBB