Hello,
Our projeqtor V9.2.3 is working fine using LDAPS.
After the upgrade in our ppd's env from 9.2.3 to 9.3.1, this feature seems to have a regression.
An error is raised :
2021-10-14 17:32:37.672 ** ERROR ** [V9.3.1] on file '/var/www/html/model/UserMain.php' at line (1403)
2021-10-14 17:32:37.672 ** ERROR ** [V9.3.1] cause = ldap_bind(): Unable to bind to server: Can't contact LDAP server
If the LDAP_host is set to ldap, and LDAP port to 636, LDAPS is not functionnal, and port 389 is used.
ldap://my_domain_controller
Does someone have the same issue ?
Do we have a workaround ?
Best regards
Hello,
Can you try to re-enter your ldap password in the global settings.
Maybe the encryption was not done correctly.
Hello,
Thx for answering me.
We already tried this, but this do not worked.
We also try to replace line 1403 in UserMain.php, with our password hardcoded without success
$bind=ldap_bind($ldapCnx, $ldap_bind_dn, 'our password');
Regards
Hi,
LDAP parameters have slightly changed on V9.3, to try and be more configurable, to be able to format server address as an URI and offer LDAP over SSL possibility
So there is new option "format serveur address as URI"
I guess that in your case, you can activate this option, then enter server address as an uri : ldaps://yourserver:636
You then don't need to specify port
We did an upgrade to our docker php image : 7.4 -> 8.0.11
after adding an ldap.conf file with :
TLS_CACERT /etc/ssl/certs/ca-certificates.crt
LDAPS is now working fine.
Thx for helping us.
Regards
