Forum

Welcome to ProjeQtOr new Forum. We migrated old forum to the new website.
You will find all your posts here, with your usual account.
Just one point : you’ll have to reinitialize your password. Use “Lost password” feature.

[RESOLVED] LDAPS no...
 
Notifications
Clear all

[RESOLVED] LDAPS not working anymore.

6 Posts
3 Users
0 Reactions
2,447 Views
(@support_infogerance)
Posts: 8
Active Member
Topic starter
 
[#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
 


 
Posted : 15 Oct 2021 12H29
Gautier
(@gautier)
Posts: 207
Active Member Admin Registered
 

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


 
Posted : 15 Oct 2021 12H54
(@support_infogerance)
Posts: 8
Active Member
Topic starter
 

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


 
Posted : 15 Oct 2021 13H06
babynus
(@babynus)
Posts: 14966
Main Contributor 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 


 
Posted : 15 Oct 2021 13H21
(@support_infogerance)
Posts: 8
Active Member
Topic starter
 

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

here's my configuration :

Regards


 
Posted : 15 Oct 2021 17H35
(@support_infogerance)
Posts: 8
Active Member
Topic starter
 

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


 
Posted : 15 Oct 2021 19H18
Share:

Scroll to Top