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 2011-11-28 12:55:41

luckymis
Member
Registered: 2011-11-24
Posts: 10

No result found for Import Users

My Ldap authentication is given below and it is tested succesfully:
    
Name : GLPI.net        Last update :    2011-11-28 10:37

Default server :        Active :   

Server : 192.168.7.252        Port (default=389) :   

Connection filter : (&(objectClass=user)(objectCategory=person))   

Basedn :    DC=GLPI,DC=NET

rootdn (for non anonymous binds) : CN=administrator,CN=users,DC=GLPI, DC= NET   

Pass (for non-anonymous binds) :        Login Field : administrator   

Test of connection to LDAP directory
Test successful (Main server : GLPI.net)

Now i cannot import users as it says no users to be imported. I guess there is some issue's in my ldap search filter so im posting the screenshot of it so it can be more help full for you to troubleshoot the error. The screenshot is given below:
1h7ath.gif
*Search filter for user is: (& (administrator=*) (&(objectClass=user)(objectCategory=person)))

Can anyone help me on it how to get the users imported after getting a successful ldap test.
P.S I imported the groups successfully but no result is found for import users.

Last edited by luckymis (2011-11-28 12:57:53)

Offline

#2 2011-11-28 13:07:43

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

Re: No result found for Import Users

why do you use "administrator" in the filter?
Is your LDAP based on AD?
here is my filter (in a simplified version): Connection filter : (&(objectClass=user)(objectCategory=person))
regards,
Tomolimo

Last edited by tomolimo (2011-11-28 13:09:12)


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

#3 2011-11-28 13:15:15

luckymis
Member
Registered: 2011-11-24
Posts: 10

Re: No result found for Import Users

Thanks Tomolimo, yes im using ldap based on AD. Second thing when i enter into advance feature of import user this search filter comes by default and i tried to change the filter with several things but it doesn't work. Please guide me to write the correct syntax of the search filter to import the users from AD. Waiting anxiously for your response.

Offline

#4 2011-11-28 13:21:23

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

Re: No result found for Import Users

then here is my complete filter:
(&(objectClass=user)(objectCategory=person)(!(userAccountControl:1.2.840.113556.1.4.803:=2))(!(samaccountname=*$)))
try it,
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 2011-11-28 14:20:11

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

Re: No result found for Import Users

in order to test my filters (and to have the field names on which I can filter), I used a free application called softerra LDAP browser 4.5.
they have a free version.
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

#6 2012-06-28 11:32:02

michael.hua.zhang
Member
From: China
Registered: 2012-06-28
Posts: 1
Website

Re: No result found for Import Users

Hi luckymis,

Have you solved this problem? My GLPI 0.83.2 was working with Active Directory, but after two days I got the same issue as yours.

I deleted all settings of LDAP authentication and imported AD users and groups.

Now I can only get result of Active Directory group, but missing some groups imported before.

Can you help?

Regards,
Michael

Last edited by michael.hua.zhang (2012-06-28 11:35:13)

Offline

Board footer

Powered by FluxBB