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

#51 2007-12-31 12:15:25

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

Re: AD Integration Issues

your last ad glpi config here plz


Xavier Caillaud
Blog GLPI Infotel

Offline

#52 2007-12-31 13:14:46

dhiraj
Member
From: INDIA
Registered: 2007-12-06
Posts: 77

Re: AD Integration Issues

My last configuration is as follows

LDAP configuration
Name               conn
Server             ldap://192.168.1.1
LDAP Port:        389
Basedn:           DC=mydomain,DC=net
rootdn:            CN=glpi,CN=users,DC=mydomain,DC=net
pass:            ***********
Connection Filter:    (&(objectCategory=CN=Person,CN=Schema,CN=Configuration,DC=MYDOMAIN,DC=NET))
Login Field:      glpi -> samaccountname
Use TLS:        no
Timezone       GMT+5.5

        Belonging to groups
Search type:  In Users
User attribute containing its groups: memberof
Filter to search in groups:   (&(objectClass=user)(objectCategory=person)(!(userAccountControl:1.2.840.113556.1.4.803:=2)))
Group attribute containing its users:
Use DN in search   Yes

            GLPI/LDAP Links
Surname:       sn
Firstname:      givenname
Location:       nothing
E-Mail:           mail
Phone:           telephonenumber
Phone 2:        homephone
Mobile:          Mobile


OS : Fedora Core 7
GLPI : 0.7             OCS-NG : 4100
Web Server : Apache 2.2.3 DB: MySql 5.0.27   
Langage : PHP 5.2.4  Syslog-NG: 2.0.5

Offline

#53 2007-12-31 13:36:06

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

Re: AD Integration Issues

Connection Filter:
(&(objectClass=user)(objectCategory=person)(!(userAccountControl:1.2.840.113556.1.4.803:=2)))
login field : samaccountname


Xavier Caillaud
Blog GLPI Infotel

Offline

#54 2007-12-31 14:03:00

dhiraj
Member
From: INDIA
Registered: 2007-12-06
Posts: 77

Re: AD Integration Issues

GREAT ......! IT WORKS BUDDY .

Thanks a TON .........

But one ques still on my mind ...... we ll need to manually sync the users with AD each time a change in the AD happens ???
IS there any way to automatically does this thing ??? It would be a great time saver


OS : Fedora Core 7
GLPI : 0.7             OCS-NG : 4100
Web Server : Apache 2.2.3 DB: MySql 5.0.27   
Langage : PHP 5.2.4  Syslog-NG: 2.0.5

Offline

#55 2007-12-31 14:39:12

dhiraj
Member
From: INDIA
Registered: 2007-12-06
Posts: 77

Re: AD Integration Issues

SO here is my final working config


My last configuration is as follows

LDAP configuration
Name               conn
Server             ldap://192.168.1.1
LDAP Port:        389
Basedn:           DC=mydomain,DC=net
rootdn:            CN=glpi,CN=users,DC=mydomain,DC=net
pass:            ***********
Connection Filter:    (&(objectClass=user)(objectCategory=person)(!(userAccountControl:1.2.840.113556.1.4.803:=2)))
Login Field:      samaccountname
Use TLS:        no
Timezone       GMT+5.5

        Belonging to groups
Search type:  In Users
User attribute containing its groups: memberof
Filter to search in groups:   (&(objectClass=user)(objectCategory=person)(!(userAccountControl:1.2.840.113556.1.4.803:=2)))
Group attribute containing its users:
Use DN in search   Yes

            GLPI/LDAP Links
Surname:       sn
Firstname:      givenname
Location:       nothing
E-Mail:           mail
Phone:           telephonenumber
Phone 2:        homephone
Mobile:          Mobile


OS : Fedora Core 7
GLPI : 0.7             OCS-NG : 4100
Web Server : Apache 2.2.3 DB: MySql 5.0.27   
Langage : PHP 5.2.4  Syslog-NG: 2.0.5

Offline

#56 2007-12-31 17:56:01

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

Re: AD Integration Issues

There is a script which can do this

scripts/ldap_mass_sync.php


Xavier Caillaud
Blog GLPI Infotel

Offline

#57 2008-01-01 06:04:25

dhiraj
Member
From: INDIA
Registered: 2007-12-06
Posts: 77

Re: AD Integration Issues

New Issue :
Though I have imported around 1000 users frm the AD but have found that a few users have been left out, but the same can be added manually from the

/front/user.form.php

I wonder why these have been left out ...........


Is there any limidation in the AD or LDAP s/w that no more than 1000 users may be viewed at a time

Last edited by dhiraj (2008-01-01 11:18:06)


OS : Fedora Core 7
GLPI : 0.7             OCS-NG : 4100
Web Server : Apache 2.2.3 DB: MySql 5.0.27   
Langage : PHP 5.2.4  Syslog-NG: 2.0.5

Offline

#58 2008-01-01 12:20:31

dhiraj
Member
From: INDIA
Registered: 2007-12-06
Posts: 77

Re: AD Integration Issues

SOLVED the above issue :
Actually the problem is the default design of AD where for any LDAP query it only returns 1000 records. There is a value called maxPageSize in the AD which causes this behaviour. To counter this we need to change the settings in the AD . I set it to 5000 as per my reqs . and then imported all the users .

Reference :  http://www.openldap.org/lists/openldap- … 00627.html

http://searchwinit.techtarget.com/tip/0 … 06,00.html


Thanks TSMR for ur help throught this ( i know i annoyed u at times) , But I do plan to put this thing in the Wiki so that most ppl may be benefit out of it


OS : Fedora Core 7
GLPI : 0.7             OCS-NG : 4100
Web Server : Apache 2.2.3 DB: MySql 5.0.27   
Langage : PHP 5.2.4  Syslog-NG: 2.0.5

Offline

#59 2008-01-01 14:56:21

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

Re: AD Integration Issues

cool big_smile

i close this thread.


Xavier Caillaud
Blog GLPI Infotel

Offline

Board footer

Powered by FluxBB