Forum

LDAPS - cause = lda...
 
Notifications
Clear all

LDAPS - cause = ldap_bind(): Unable to bind to server: Can't contact LDAP server

2 Posts
2 Users
0 Reactions
2,705 Views
(@monestelf)
Posts: 2
Active Member
Topic starter
 
[#7394]

Hello,

I can't get LDAPS to work with ProjeQtor.

Authentication works fine in simple ldap.

My configuration :
base DN LDAP : CN=Users,DC=mydomain,DC=local
ldaps://HOSTNAME.mydomain.local/
Port LDAP : 636
Version LDAP : 3
Filter for users : sAMAccountName=%USERNAME%

My tests :

- Authentification LDAP simple with this configuration : OK
base DN LDAP : CN=Users,DC=mydomain,DC=local
ldap://HOSTNAME.mydomain.local/
Port LDAP : 389
Version LDAP : 3
Filter for users : sAMAccountName=%USERNAME%

- Check rules firewall port : OK

- Test telnet with port 636 to ldap server : OK

- Test the DNS name resolution of the LDAP server from the Projeqtor server: OK

- Checking SSL activation with PHP: OK
php -i | grep -i openssl
SSL Version => OpenSSL/1.1.1d
openssl
OpenSSL support => enabled
OpenSSL Library Version => OpenSSL 1.1.1d  10 Sep 2019
OpenSSL Header Version => OpenSSL 1.1.1d  10 Sep 2019
Openssl default config => /usr/lib/ssl/openssl.cnf
openssl.cafile => no value => no value
openssl.capath => no value => no value
Native OpenSSL support => enabled

I can't find a solution to my problem ...

Thank you in advance for your assistance.

Regards,


 
Posted : 14 Mar 2021 1H54
(@babynus)
Posts: 14952
Member Admin
 

Hi,

Note that what you try is valid for LDAPS, not for LDAP through SSL over TLS.
If you need this last, have a look at ticket #3103 (not implemented yet)


 
Posted : 15 Mar 2021 10H55
Share:

Scroll to Top