You are not logged in.
Pages: 1
hi all,
i configure LDAP succefull
Test of connection to LDAP directory
Test successful (Main server : company)
but, when i try get user from a external link in the "Automatically add a user of an external source"
login = user and then click on addldap, i received this message
User not found or several users found
any ideas?
Offline
Did you use an LDAP browser to see if your DN settings are setup correctly, as this sounds to me, like a setup problem, to have a succesful connection to your LDAP does not mean it will work out of the box, but without any further details and not knowing your LDAP structure it's difficult to give some hints to the right direction.
Have you read this Wiki already ? http://glpi-project.org/wiki/doku.php?id=en:ldap
If not, I would suggest to do so, as there is a lot of vital information, how to set it up correctly.
What happens, if you choose "LDAP Link" and then "Import New Users" ? Do you see at least some of them, or same error ?
RedHat Enterprise Linux 5 ES 32Bit x86
PHP 5.1.6 -- Apache 2.2.3
MySQL 5.0.45 -- GLPI 0.72.4 -- OCS 1.32 -- Home brewed MS CM import script
Offline
- version of glpi
- which ldap server
- what's your ldap configuration in glpi
Offline
hi MHI, wawa,
yea i read that wiki and when i try LDAP link appear same error than external source.
i am deployment GLPI 0.71.5 with W2K3, IIS 6.0, MySQL latest version, PHP 5.2.8 and my doa¿main struture have 15 domain controller in the world.
this is my config in GLPI for LDAP conections
server: ldap://server.domain.com
basedn: DC=domain,DC=com
rootdn: CN=user,OU=IT,OU=Users,OU=CAL,OU=LA,OU=company,DC=domain,DC=com
Connection filter= (objectClass=user)
Use TLS= No
How LDAP aliases should be handled: never deferenced
Last edited by andrewfelipe (2009-02-13 17:02:57)
Offline
Are you sure that you have a user called "user" in your LDAP ? Try to enter your login name that you use in the domain and hit "Add LDAP" and let me know what happens. You may also have to change the objectclass search string depending on your structure. Just try with empty settings in the search filter from the root entity and see if some usernames will come up.
Last edited by MHI (2009-02-13 15:53:50)
RedHat Enterprise Linux 5 ES 32Bit x86
PHP 5.1.6 -- Apache 2.2.3
MySQL 5.0.45 -- GLPI 0.72.4 -- OCS 1.32 -- Home brewed MS CM import script
Offline
no, user is a example,
MHI when u said: You may also have to change the objectclass search string depending on your structure.
could u explain this to me?
Offline
Well, for a first simple test, just as exlpained before, just go to the root entity of GLPI and then to Users -->LDAP Link --> Import New Users --> Choose your LDAP Config and clean the search filter for users, so that it is empty and hit search. This should bring up a list of users (at least it does for me), but as said, we probably have total different LDAP setup here.
RedHat Enterprise Linux 5 ES 32Bit x86
PHP 5.1.6 -- Apache 2.2.3
MySQL 5.0.45 -- GLPI 0.72.4 -- OCS 1.32 -- Home brewed MS CM import script
Offline
hi,
search filter for users : blank, clean
show... No users to be imported
Offline
Are you sure or did you check with an LDAP browser that your Users are directly under DC=domain,DC=com ?
RedHat Enterprise Linux 5 ES 32Bit x86
PHP 5.1.6 -- Apache 2.2.3
MySQL 5.0.45 -- GLPI 0.72.4 -- OCS 1.32 -- Home brewed MS CM import script
Offline
hello
can you try this connection filter : (&(objectClass=user)(objectCategory=person)(!(userAccountControl:1.2.840.113556.1.4.803:=2)))
can you log on your AD with an ldap browser using the rootdn/pass ?
Offline
yessssssssssssssss, its Ok.
i seee with adsi objetClass param and this show this
objectClass
top,person,organizationalPerson,user
so...
i try it
(&(objectClass=top)(objectClass=person)(objectClass=organizationalPerson)(objectCategory=User))
and, successss
look this image, all users to import =)=)=)=)=)=)=)=)=)=)
Last edited by andrewfelipe (2009-02-13 18:30:48)
Offline
anyone knwo how import only 1 OU, because my domain is very big?
ty for u help MHI =)
Last edited by andrewfelipe (2009-02-13 17:51:48)
Offline
wooott,
only i modify this param
rootdn = OU=CAL,OU=LA,OU=company,DC=domain,DC=com
this param allow import selected OU, in this case GLPI import only users from OU=CAL.
=)=)=)=)=) ty MHI
Last edited by andrewfelipe (2009-02-13 18:31:28)
Offline
Pages: 1