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 2012-07-27 15:25:23

bingleng198710
Member
Registered: 2012-07-27
Posts: 5

No users to be imported by ldap directory but ldap test sucessful

I have installed GLPI 0.83.31.
I add LDAP Directory and test it successful.
But when I search new users in ldap directory, it said no users to be imported.
How can I solve this problem? (The CN=svc-jdo-glpiaccount is domain admin access)
Thanks!

The configuration is following:
Name :  ***
Default server : Yes
Active : Yes
Server :  ***
Port (default=389) :  389
Connection filter : 
Basedn :  OU=Locations,OU=TAISHAN,DC=ad,DC=tsn
rootdn (for non anonymous binds) :  CN=svc-jdo-glpi,OU=Service Accounts,OU=Entity Administration,OU=TAISHA,DC=ad,DC=tsn
Pass (for non-anonymous binds) :
Login Field :  samaccountname
Comments :

The information of php_errors
Warning(2): ldap_search() [<a href='function.ldap-search'>function.ldap-search</a>]: Search: Operations error
Backtrace :
/glpi/inc/authldap.class.php:1169        ldap_search()
/glpi/inc/authldap.class.php:996        AuthLDAP::getAllUsers()
/glpi/inc/authldap.class.php:2458        AuthLDAP::showLdapUsers()
/glpi/front/ldap.import.php:72        AuthLDAP::searchUser()

Offline

#2 2012-07-27 16:29:23

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

Re: No users to be imported by ldap directory but ldap test sucessful

there's no connection filter
if it's an AD, why not to use the preconfiguration model ?

Offline

#3 2012-07-30 07:31:46

bingleng198710
Member
Registered: 2012-07-27
Posts: 5

Re: No users to be imported by ldap directory but ldap test sucessful

wawa wrote:

there's no connection filter
if it's an AD, why not to use the preconfiguration model ?

Thanks for your reply.
I have tried, the problem (No users be imported) still exist.
My colleague also build the GLPI environment and do the same setting, but it's OK.
I don't know where is the problem.
System:Centos 5.6; PHP version: php 5.1.6-39 ;Apache version: Apache/2.2.3

Offline

#4 2012-07-31 08:10:56

tomolimo
Member
From: Grenoble, France
Registered: 2009-05-12
Posts: 515

Re: No users to be imported by ldap directory but ldap test sucessful

Try: rootdn=svc-jdo-glpi@ad.tsn (or DomainAlias\svc-jdo-glpi)
And filter must be like: (&(objectClass=user)(objectCategory=person)(!(userAccountControl:1.2.840.113556.1.4.803:=2))(!(samaccountname=*$)))
regards,
Tomolimo


GLPI 9.2.4 - PHP 7.2.13 x64 / ProcessMaker 3.3.0-community-RE-1.7 - PHP 7.1.24 x64 / Windows 2012 x64 / IIS 8.5 / MySQL 5.7.17 x64
Worldwide: >12316 PC, >9400 users (16 languages, >11 timezones), >360k tickets, >3600 entities, >4200 groups
Raynet is ARaymond (http://www.araymond.com) IT service management

Offline

#5 2012-08-03 13:19:55

bingleng198710
Member
Registered: 2012-07-27
Posts: 5

Re: No users to be imported by ldap directory but ldap test sucessful

The problem has been solved.
I check the database of glpi.
Ldap test successful, but password didn't been posted to the table glpi_autheldaps
I try to update the password several times and check field password of the table glpi_autheldaps.
Then it's work and the ldap connection table can't recognize Chinese font.

Offline

Board footer

Powered by FluxBB