You are not logged in.
Pages: 1
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
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
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
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
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
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
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
Pages: 1