-
Notifications
You must be signed in to change notification settings - Fork 207
Closed
Description
Using the latest Docker with .env and LDAP set to:
# LDAP Settings
LDAP_SERVER=10.80.99.120:389
LDAP_BASE_DN=OU=Employees,DC=lab,DC=xxxx,DC=com
LDAP_DN='CN=read-only,OU=Service Accounts,DC=lab,DC=xxxxx,DC=com'
LDAP_PASS=supsersecretpassword
#LDAP_DN=false
#LDAP_PASS=false
LDAP_USER_FILTER=(&(samaccountname=${user}))
LDAP_VERSION=2
LDAP_EMAIL_ATTRIBUTE=url
I can see the application contact the LDAP server (AD) & packets show up on wireshark. (bindrequest, bindresponse)
From the app log is see:
in Ldap.php line 94
at HandleExceptions->handleError(2, 'ldap_bind(): Unable to bind to server: Invalid credentials', '/var/www/bookstack/app/Services/Ldap.php', 94, array('ldapConnection' => resource, 'bindRdn' => '\'CN=read-only,OU=Service Accounts,DC=lab,DC=xxxx,DC=com\'', 'bindPassword' => 'supsersecretpassword'))
Note this combination of Base_DN, LDAP_DN, PASS are working on an older, non-docker version of bookstack at this time as well as other applications in my environment. I also tried to connect with a local LDAPMANAGER application using these credentials and it also works fine.
Thanks!
Metadata
Metadata
Assignees
Labels
No labels