The devil is in the details ...
If you connect through SSL, you've to use the following parameters in
config.php
:
$servers->setValue('server','host','ldaps://ldapserver.example.com:636');
$servers->setValue('server','port',0);
Notice that the
host
parameter contains the port too and the
port
parameter contains 0 (zero).
For using TLS you've to use the following:
$servers->setValue('server','host','ldap://ldapserver.example.com/');
$servers->setValue('server','port',389);
$servers->setValue('server','tls',true);
And obviously the LDAP server must listen on port 389 as well! If you want to prevent plain (unencrypted) connections and use TLS, you've to configure the LDAP server to refuse plain connections on port 389. The easier way is to configure it not to listen for connections on port 389, only for SSL connections on port 636.
Recent comments
2 years 26 weeks ago
3 years 47 weeks ago
3 years 47 weeks ago
3 years 49 weeks ago
3 years 50 weeks ago
4 years 5 weeks ago
4 years 5 weeks ago
4 years 5 weeks ago
4 years 5 weeks ago
4 years 5 weeks ago