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 2008-11-17 22:54:09

chazzers23
Member
Registered: 2008-11-17
Posts: 21

LDAP and Active Directory

Hi,

I do a test connection of LDAP directory and it tells me the test is successful but when trying to import users into the database, I have a problem. Can someone point me in the right direction on how to correctly import users?? Thanks!

Offline

#2 2008-11-18 10:32:55

wawa
GLPI-DEV
From: Montpellier / France
Registered: 2006-07-03
Posts: 6,019
Website

Re: LDAP and Active Directory

no info about your config, no answer !

Offline

#3 2008-11-18 15:02:16

chazzers23
Member
Registered: 2008-11-17
Posts: 21

Re: LDAP and Active Directory

I apologize, did I forget to include that?

Here is my config:

Server: ldap://192.168.1.24
Basedn: DC=chsad_1,DC=chsdomain,DC=edu
LDAP Port: 389
rootdn: CN=glpiuser,CN=users,DC=chsdomain,DC=edu
Connection filter: ((&(objectClass=user)(objectCategory=person))
Pass: ********
Login Field: samaccountname
TLS: No
Time Zone: -2

User attribute containing its groups: memberof
Search Type: Users and Groups
Filter to search in groups: (objectclass=group)
Use DN in the search: YES

Surname:sn
First Name: givenname
Email: mail
Phone: telephonenumber
Phone 2: homephone

AD: W2K

Test was successful to LDAP connection.

Offline

#4 2008-11-18 18:43:09

chazzers23
Member
Registered: 2008-11-17
Posts: 21

Re: LDAP and Active Directory

I also have GLPI Version .70.2
and PHP5

Offline

#5 2008-11-18 23:17:06

peetz
Member
From: Germany
Registered: 2008-10-27
Posts: 12

Re: LDAP and Active Directory

What happens when you want to logon with a AD User? Any Error?

Offline

#6 2008-11-19 04:35:27

chazzers23
Member
Registered: 2008-11-17
Posts: 21

Re: LDAP and Active Directory

It gives this output:

unknown user
unsuccessful authorization in LDAP


Could it be the structure of the AD?

I don't have all my users on my network under the container "Users". I have created separate OU's for each of my users.

Last edited by chazzers23 (2008-11-19 04:42:00)

Offline

#7 2008-11-19 08:57:42

wawa
GLPI-DEV
From: Montpellier / France
Registered: 2006-07-03
Posts: 6,019
Website

Re: LDAP and Active Directory

hello
can you connect with your glpiuser with a browser like browser editor ?

Offline

#8 2008-11-19 18:17:47

chazzers23
Member
Registered: 2008-11-17
Posts: 21

Re: LDAP and Active Directory

I was unaware you can do that.

I downloaded LDAP browser and used the same server, baseDN and userDN as I used in GLPI.
I got this result in the error Log:

09:47:16 AM: List failed
Root error: [LDAP: error code 32 - 0000208D: NameErr: DSID-031001BD, problem 2001 (NO_OBJECT), data 0, best match of:
    'DC=chsdomain,DC=edu'

Can anyone tell me what's going on?

Thanks in advance.

Offline

#9 2008-11-19 18:22:42

wawa
GLPI-DEV
From: Montpellier / France
Registered: 2006-07-03
Posts: 6,019
Website

Re: LDAP and Active Directory

well your problem is that you ldap user cannot connect to the directory...
if you're sure your user is ok, maybe you'be got an AD restriction somewhere...
it goes far beyond my knowledges in active directory, sorry

Offline

#10 2008-11-19 21:43:03

chazzers23
Member
Registered: 2008-11-17
Posts: 21

Re: LDAP and Active Directory

Thank you for all your suggestions! It was a great help! I have finally found my problem once I was able to troubleshoot a bit with the LDAP Browser. My problems lied within the Connection filter portion of my configuration and the baseDN.

For the connection filter, I left it blank
For my baseDN, I was using the computer name then my DC info, which was incorrect. Once I knew the correct OU/CN to plug in I was importing away.

Thanks guys for pointing me in the right direction!

Offline

#11 2008-11-19 21:45:35

wawa
GLPI-DEV
From: Montpellier / France
Registered: 2006-07-03
Posts: 6,019
Website

Re: LDAP and Active Directory

you're welcome !
I close the thread.

Offline

Board footer

Powered by FluxBB