Closed paddy235 closed 6 years ago
Hi,
In fact, this is an error, the line should be $ldap = ldap_connect($hostname,$port), else the $port argument is useless. However, in the php manual, there are two different ways to use ldap_connect($host,$port) :
So I suggest you to only use $hostname = "ldap://ldap.abb.app:10389"; or $hostname = "ldap://ldap.abb.app"; $port = 10389; Note, if you use LDAP 1.x you should use the second option.
I hope this will solve your problem, keep me updated please :)
Thanks for your feedback, I will fix this point in the next commit.
Regards
thank you verymatch
fedora 389 ldap config_ldap.php:
LDAP.php:
if is $ldap = ldap_connect($hostname,$port) then fail ldap_bind(): Unable to bind to server: Can't contact LDAP server