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-09-15 12:25:30

pmeireles
Member
Registered: 2011-09-15
Posts: 6

LDAP authentication not working

Hi,

I'm going completely crazy with this. I've lost hours trying to setup AD integration with GLPI (my AD is Windows Server 2003) and it simply doesn't work. I've followed the steps found here:

http://www.glpi-project.org/wiki/doku.php?id=en:ldap

I've also searched through many forums and my setup is just like the ones I see that are working. The connection test is successful but when I go to the "Import new users" option and do a search I get a "No users to be imported" message.

I'm now running GLPI in debug mode and the error that's happening when I search for users is this:

PHP Warning: ldap_search(): Search: No such object in /var/www/glpi/inc/authldap.class.php at line 1097

Anyone has any idea of what might be wrong?

Any help very much appreciated.


Best regards,
Pedro Meireles

Last edited by pmeireles (2011-09-15 12:26:27)

Offline

#2 2011-09-19 12:33:31

fadi
Member
Registered: 2011-01-05
Posts: 4

Re: LDAP authentication not working

--Edit: forgot to mention that my server is 2008 and glpi 0.80.1--

I had the same problem (no users to imported) and after reading almost all posts regards ldap i managed to fix my problem,

here is my config for ldap, hope this will help you,

ldap.jpg

My problem was with the rootdn and search filter entry.

Best regards,

Last edited by fadi (2011-09-19 12:35:14)

Offline

#3 2011-09-22 15:05:52

adrianmarsh
Member
Registered: 2006-08-28
Posts: 379

Re: LDAP authentication not working

When i get stuck with LDAP.. I use the Softerra LDAP Browser to confirm what my LDAP user can 'see'.


GLPI 0.83.91/CENTOS5 - OCS 1.01/Win2003

Offline

#4 2011-09-22 17:49:54

FabFara
Member
From: Italy - Bergamo
Registered: 2011-09-15
Posts: 36

Re: LDAP authentication not working

Do you have "php-ldap" installed?


GLPI 0.83.7 - MySQL 5.1.69 - PHP 5.3.3 - CentOS 6.4 64 bit

Offline

#5 2011-12-01 19:00:26

ReyDxx
Member
From: Mons-en-Baroeul
Registered: 2011-12-01
Posts: 16

Re: LDAP authentication not working

Hello,

I'm french so sorry for my english,

For server just type : Server1 (without .company.local)
For rootdn : Company\Administrator


R Decroix
____________________________________________________________________________________________________
Debian Squeeze - GLPI 0.80.5 - OCS Inventory Server 2.0.2

Offline

Board footer

Powered by FluxBB