Troubles getting authenticated against AD LDAP #2146

Closed
opened 2026-02-05 03:06:12 +03:00 by OVERLORD · 1 comment
Owner

Originally created by @Conwayler on GitHub (Mar 8, 2021).

Hello,

i have some troubles to get authenticated against our AD LDAP. Everytime i try to login i get the "Wrong Credentials" error. Here is my ldap config example:
AUTH_METHOD=ldap
LDAP_SERVER=ldaps://example:636
LDAP_BASE_DN=OU=example,DC=example,DC=example,DC=example
LDAP_DN=DN to User
LDAP_PASS=password
LDAP_VERSION=3
LDAP_USER_FILTER=(&(sAMAccountName=${user}))
LDAP_ID_ATTRIBUTE=BIN;objectGUID

if i just edit the LDAP_USER_FILTER to (&(sAMAccountName=john)) i can login without any problems with this account, but with the settings above it doesnt work. Debug mode is on but the general LDAP connection seems to "work"...i dont get any error message.
I use the docker version of linuxserver.io.

Originally created by @Conwayler on GitHub (Mar 8, 2021). Hello, i have some troubles to get authenticated against our AD LDAP. Everytime i try to login i get the "Wrong Credentials" error. Here is my ldap config example: AUTH_METHOD=ldap LDAP_SERVER=ldaps://example:636 LDAP_BASE_DN=OU=example,DC=example,DC=example,DC=example LDAP_DN=DN to User LDAP_PASS=password LDAP_VERSION=3 LDAP_USER_FILTER=(&(sAMAccountName=${user})) LDAP_ID_ATTRIBUTE=BIN;objectGUID if i just edit the LDAP_USER_FILTER to (&(sAMAccountName=john)) i can login without any problems with this account, but with the settings above it doesnt work. Debug mode is on but the general LDAP connection seems to "work"...i dont get any error message. I use the docker version of linuxserver.io.
Author
Owner

@Conwayler commented on GitHub (Mar 8, 2021):

got some issues with my .env file, it works now.

@Conwayler commented on GitHub (Mar 8, 2021): got some issues with my .env file, it works now.
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: starred/BookStack#2146