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 2015-08-28 22:35:30

Mconfix
Member
Registered: 2015-08-28
Posts: 3

Ldap authentication not pass test

Hi all,

I've nstalled e virtual server with centos 7+ php 5.6+glpi 0.85.4 and i' m trying to configure ldap authentication with windows 2008 r2 server.

I've compled the form as indicated in wiki instructions:

Server: ip AD server
Filter: defailt filter
bindDN: distinguished name of the ou
RootDN: distinguished name of the domainuser created for ldap bind
pasword: user password

When i test it i receive the message: test not passed.

Can anuone help me?

Offline

#2 2015-08-31 10:20:25

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

Re: Ldap authentication not pass test

Hello
Do you have any info in logs (glpi installation directory/_files/_log/php-error.logs)?
Thank you,
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

#3 2015-08-31 10:53:06

Mconfix
Member
Registered: 2015-08-28
Posts: 3

Re: Ldap authentication not pass test

Here the content of php-error.logs file:

*** PHP Warning(2): ldap_bind(): Unable to bind to server: Can't contact LDAP server
  Backtrace :
  :                                                 
  inc/authldap.class.php:2183                        ldap_bind()
  inc/authldap.class.php:1182                        AuthLDAP::connectToServer()
  front/authldap.form.php:71                         AuthLDAP::testLDAPConnection()

Offline

#4 2015-08-31 10:58:17

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

Re: Ldap authentication not pass test

Hello,
Then you have a problem with "Server: ip AD server" and/or port number used to connect to your server.
Which port do you use?
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 2015-08-31 11:25:43

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

Re: Ldap authentication not pass test

Hello again,
You may use a free application called LDAP Browser (http://www.ldapadministrator.com/download.htm there is a free version limited to read-only mode) to test the complete config.
This is the one I use to do tests regarding configurations and filters.
Regards,
Tomolimo

Last edited by tomolimo (2015-08-31 11:25:55)


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 2015-09-09 22:08:19

Mconfix
Member
Registered: 2015-08-28
Posts: 3

Re: Ldap authentication not pass test

Thank you for suggestion.

As IP  i've set the  Domanin controller IP. I've used ports 389 and 3268 without success. Using ldapsearch from linux server terminal i can connect and browse active drectory.

Offline

#7 2015-09-10 09:14:54

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

Re: Ldap authentication not pass test

Hello,
Here are my settings:
Server: serverName
Port: 3268 (this is the port of the global catalog, you may also use the std port)
filter: (&(objectClass=user)(objectCategory=person)(!(userAccountControl:1.2.840.113556.1.4.803:=2)))
basedn: dc=...
rootdn: domainName\userLogin
Pass:...
login field: samaccountname

It should be ok if you follow the same schema.
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

Board footer

Powered by FluxBB