BUG: LDAP Auth fails to AD --v0.29.3 #1747

Closed
opened 2026-02-05 01:46:27 +03:00 by OVERLORD · 4 comments
Owner

Originally created by @mikebohlen on GitHub (May 27, 2020).

Argument 1 passed to BookStack\Auth\Access\LdapService::validateUserCredentials() must implement interface Illuminate\Contracts\Auth\Authenticatable, null given, called in
bookstack\app\Auth\Access\Guards\LdapSessionGuard.php on line 78

Originally created by @mikebohlen on GitHub (May 27, 2020). Argument 1 passed to BookStack\Auth\Access\LdapService::validateUserCredentials() must implement interface Illuminate\Contracts\Auth\Authenticatable, null given, called in bookstack\app\Auth\Access\Guards\LdapSessionGuard.php on line 78
Author
Owner

@ssddanbrown commented on GitHub (Jun 21, 2020):

Hi @mikebohlen,

Do you still get this issue? When exactly does this issue occur? And detail on how to replicate would be much appreciated.

@ssddanbrown commented on GitHub (Jun 21, 2020): Hi @mikebohlen, Do you still get this issue? When exactly does this issue occur? And detail on how to replicate would be much appreciated.
Author
Owner

@mikebohlen commented on GitHub (Jun 22, 2020):

Anytime anyone tries to sign on. I have tried this with AD and a *STD x.500 LDAP both secured\unsecured same issue, just fyi, I adjusted the search strings etc to match the LDAP server I was trying to auth. to, same issue each time with same error.

@mikebohlen commented on GitHub (Jun 22, 2020): Anytime anyone tries to sign on. I have tried this with AD and a *STD x.500 LDAP both secured\unsecured same issue, just fyi, I adjusted the search strings etc to match the LDAP server I was trying to auth. to, same issue each time with same error.
Author
Owner

@tiredofit commented on GitHub (Sep 13, 2020):

Hi @mikebohlen I'll try to handle LDAP queries for a bit here. Can you send some logs from your LDAP server, or share your .env LDAP configuration (sanitized?)

@tiredofit commented on GitHub (Sep 13, 2020): Hi @mikebohlen I'll try to handle LDAP queries for a bit here. Can you send some logs from your LDAP server, or share your .env LDAP configuration (sanitized?)
Author
Owner

@ssddanbrown commented on GitHub (Feb 7, 2021):

Since the last comment on this issue is relatively old I'm going to close this. If the issue remains and is something you still require to be fixed please open a new issue, referencing this one.

@ssddanbrown commented on GitHub (Feb 7, 2021): Since the last comment on this issue is relatively old I'm going to close this. If the issue remains and is something you still require to be fixed please open a new issue, referencing this one.
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: starred/BookStack#1747