Forum

[RESOLVED] LDAPS no...
 
Notifications
Retirer tout

[RESOLVED] LDAPS not working anymore.

6 Posts
3 Utilisateurs
0 Reactions
2,417 Vu
(@support_infogerance)
Posts: 8
Active Member
Début du sujet
 
[#7823]

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
 


 
Posté : 15/10/2021 12:29 pm
Gautier
(@gautier)
Posts: 207
Membre Admin Registered
 

Hello,
Can you try to re-enter your ldap password in the global settings.
Maybe the encryption was not done correctly.


 
Posté : 15/10/2021 12:54 pm
(@support_infogerance)
Posts: 8
Active Member
Début du sujet
 

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


 
Posté : 15/10/2021 1:06 pm
(@babynus)
Posts: 14952
Membre Admin
 

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 


 
Posté : 15/10/2021 1:21 pm
(@support_infogerance)
Posts: 8
Active Member
Début du sujet
 

Thanks, but still not working
i did save the bind password again without success. Did i missed something ?

here's my configuration :

Regards


 
Posté : 15/10/2021 5:35 pm
(@support_infogerance)
Posts: 8
Active Member
Début du sujet
 

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


 
Posté : 15/10/2021 7:18 pm
Share:
Retour en haut