LDAP - not using uid #56

Closed
opened 2026-02-04 16:25:16 +03:00 by OVERLORD · 2 comments
Owner

Originally created by @smithkyle on GitHub (Feb 8, 2016).

We use ActiveDirectory for our directory services, and are not using the uid field. As a result, we cannot login using ldap auth because it results in the following error:

at HandleExceptions->handleError('8', 'Undefined index: uid', '/var/www/html/app/Services/LdapService.php', '49',

Please let me know if you need any additional info.

Originally created by @smithkyle on GitHub (Feb 8, 2016). We use ActiveDirectory for our directory services, and are not using the uid field. As a result, we cannot login using ldap auth because it results in the following error: `at HandleExceptions->handleError('8', 'Undefined index: uid', '/var/www/html/app/Services/LdapService.php', '49',` Please let me know if you need any additional info.
OVERLORD added the 🐛 Bug label 2026-02-04 16:25:16 +03:00
Author
Owner

@ssddanbrown commented on GitHub (Feb 9, 2016):

The above commit that will hopefully fix this has been merged into release. BookStack will now use the provided 'dn' if no 'uid' is provided. Let me know if this still doesn't solve the issue. Unfortunately I do not have ActiveDirectory to test against.

@ssddanbrown commented on GitHub (Feb 9, 2016): The above commit that will hopefully fix this has been merged into release. BookStack will now use the provided 'dn' if no 'uid' is provided. Let me know if this still doesn't solve the issue. Unfortunately I do not have ActiveDirectory to test against.
Author
Owner

@smithkyle commented on GitHub (Feb 9, 2016):

Works perfect! Thank you!

@smithkyle commented on GitHub (Feb 9, 2016): Works perfect! Thank you!
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: starred/BookStack#56