-
-
Notifications
You must be signed in to change notification settings - Fork 2.3k
Closed
Labels
Description
Hi,
I can't bind to ldap over an SSL connection on port 636. I use the same settings as on other services, where LDAP bind works fine.
.env config
# General auth
AUTH_METHOD=ldap
# LDAP Settings
LDAP_SERVER=ldap.avionix.ee:636
LDAP_BASE_DN=dc=ldap,dc=avionix,dc=ee
LDAP_DN=uid=randomuser,cn=users,dc=ldap,dc=avionix,dc=ee
LDAP_PASS=randomepassword.
LDAP_USER_FILTER=(&(uid=${user}))
LDAP_VERSION=3
Error message:
ErrorException in Ldap.php line 94:
ldap_bind(): Unable to bind to server: Can't contact LDAP server
in Ldap.php line 94
at HandleExceptions->handleError('2', 'ldap_bind(): Unable to bind to server: Can't contact LDAP server', '/var/www/bookstack/app/Services/Ldap.php', '94', array('ldapConnection' => resource, 'bindRdn' => 'uid=randomuser,cn=users,dc=ldap,dc=avionix,dc=ee', 'bindPassword' => 'randompassword.'))
Am I missing some configuration (i.e. deine ssl or tls)?