1 (edited by phitx 2013-02-04 08:19:47)

Topic: Can not import user from LDAP


I want to connect my glp with LDAP
This my AD configuration
-------------Special Accunts
-------------Special Accunts

And this my configuration in glpi

LDAP directory - ID 3    
Name :    MyLDAP    Last update :    2013-02-04 05:31
Default server :    Yes    Active : Yes   
Server :    MyIP    Port (default=389) :    389
Connection filter :    (&(objectClass=user)(objectCategory=person)(!(userAccountControl:1.2.840.113556.1.4.803:=2)))
Basedn : OU=Office1,OU=Region1,OU=company,DC=com   
rootdn (for non anonymous binds) : CN=Helpdesk,OU=\#Special Accounts,OU=Users,OU=Office1,OU=Region1,OU=company,DC=com   

Pass (for non-anonymous binds) : ***     Clear    Login Field :samaccountname   
Comments :   
Test of connection to LDAP directory
Test successful (Main server : PSID200)
Binding to the LDAP directory
Surname : sn        First name : givenname
Comments : info         Administrative number :     employeenumber
Email address : mail        Email address 2 :    
Email address 3 :         Email address 4 :    
Phone : telephonenumber         Phone 2  : othertelephone   
Mobile phone : mobile         Title : title   
Category (class) :         Select Language :   

Belonging to groups
Search type : Users & Groups        User attribute containing its groups : memberof
Filter to search in groups : (&(objectClass=group)(objectCategory=group))   
Group attribute containing its users :         Use DN in the search :     yes

Import entities from LDAP directory
Attribute representing entity : ou
Search filter for entities : (objectclass=organizationalUnit)
Advanced information
Advanced information
Use TLS :        LDAP directory time zone :   
How LDAP aliases should be handled :    
Add a LDAP directory replica
Name    Server    Port   

Operating system : Windows NT PSID-OCSNGLPI 5.1 build 2600 (Windows XP Professional Service Pack 3) i586
PHP 5.3.8 (Core, PDO, PDO_ODBC, Phar, Reflection, SPL, SQLite, SimpleXML, apache2handler, bcmath, bz2, calendar, com_dotnet,
    ctype, date, dom, ereg, exif, filter, ftp, gd, gettext, hash, iconv, imap, json, ldap, libxml, mbstring, mcrypt, mhash, mysql,
    mysqli, mysqlnd, odbc, openssl, pcre, pdo_mysql, pdo_sqlite, session, soap, sockets, sqlite3, standard, tokenizer, wddx, xml,
    xmlreader, xmlrpc, xmlwriter, zip, zlib)
Setup: memory_limit="128M" max_execution_time="30" safe_mode="" session.save_handler="files" post_max_size="16M"
Software: Apache/2.2.21 (Win32) mod_ssl/2.2.21 OpenSSL/1.0.0e PHP/5.3.8 mod_perl/2.0.4 Perl/v5.10.1 (Apache/2.2.21 (Win32)
    mod_ssl/2.2.21 OpenSSL/1.0.0e PHP/5.3.8 mod_perl/2.0.4 Perl/v5.10.1 Server at Port 80)
    Mozilla/5.0 (Windows NT 5.1; rv:18.0) Gecko/20100101 Firefox/18.0
MySQL: 5.5.16 ([email protected]/glpiweb)

../config : OK
../files : OK
../files/_dumps : OK
../files/_sessions : OK
../files/_cron : OK
../files/_cache/ : OK
../files/_graphs : OK
../files/_log : OK

With this setting I can not import user from my LDAP
But I can import group

Any one have suggestion for me?



Re: Can not import user from LDAP

Maybe removing the connection filter might help?


Re: Can not import user from LDAP

ultimatejack wrote:

Maybe removing the connection filter might help?

I have tried but still same, result is blank


Re: Can not import user from LDAP

Anyone can help me with this?


Re: Can not import user from LDAP

Finally I can import my user.
My problem is entity.
So when I try to import user I must choice correct entity same with my user entity