-
-
Notifications
You must be signed in to change notification settings - Fork 2.4k
ldap_bind(): Unable to bind to server: Can't contact LDAP server #5520
Copy link
Copy link
Closed
Labels
Description
Attempted Debugging
- I have read the debugging page
Searched GitHub Issues
- I have searched GitHub for the issue.
Describe the Scenario
Hi,
I am a newbie in LDAP setup and configuration. I'm using Windows Active Directory and trying to setup LDAP authentication but I'm facing this error:
ErrorException: ldap_bind(): Unable to bind to server: Can't contact LDAP server
LDAP configuration:
`### LDAP Configuration ###
AUTH_METHOD=ldap
LDAP_SERVER=domain_controller_host:389
LDAP_BASE_DN="dc=DOMAIN,dc=LOCAL"
LDAP_DN="cn=BOOKSTACK_SERVICE_ACCOUNT,ou=USER_GROUP,dc=DOMAIN,dc=LOCAL"
LDAP_PASS="PASSWORD"
LDAP_VERSION=3
LDAP_START_TLS=false
LDAP_ID_ATTRIBUTE=uid
LDAP_EMAIL_ATTRIBUTE=mail
LDAP_DISPLAY_NAME_ATTRIBUTE=cn
LDAP_USER_FILTER="(&(sAMAccountName=${user}))"`
Error code attached. Kindly advise.
Exact BookStack Version
25.02
Log Content
Hosting Environment
PHP 8.2.25, on Rocky Linux version 9.5
Reactions are currently unavailable