LDAP with Active Directory #1433

Closed
opened 2026-02-05 00:53:11 +03:00 by OVERLORD · 3 comments
Owner

Originally created by @okwindart on GitHub (Oct 31, 2019).

Bookstack can bind to AD but generates "Search operations error" Here is a screenshot from the logs:

image

Also, here is my env file:
image

Can someone please suggest what I may be doing wrong with the ENV file? Thanks in advance!

Originally created by @okwindart on GitHub (Oct 31, 2019). Bookstack can bind to AD but generates "Search operations error" Here is a screenshot from the logs: ![image](https://user-images.githubusercontent.com/46505131/67972088-ff3b5980-fbdb-11e9-80f3-7cf0f3b4cef6.png) Also, here is my env file: ![image](https://user-images.githubusercontent.com/46505131/67972326-6fe27600-fbdc-11e9-9125-800b97d893aa.png) Can someone please suggest what I may be doing wrong with the ENV file? Thanks in advance!
Author
Owner

@philjak commented on GitHub (Nov 1, 2019):

Are you sure you can bind your Active Directory anonymously? If you use Microsofts AD Explorer (https://docs.microsoft.com/en-us/sysinternals/downloads/adexplorer) - can you authenticate with the same set up credentials? (LDAP_SERVER and no user and no pass)

@philjak commented on GitHub (Nov 1, 2019): Are you sure you can bind your Active Directory anonymously? If you use Microsofts AD Explorer (https://docs.microsoft.com/en-us/sysinternals/downloads/adexplorer) - can you authenticate with the same set up credentials? (LDAP_SERVER and no user and no pass)
Author
Owner

@Mant1kor commented on GitHub (Nov 1, 2019):

AFAIK, AD server don't accept anonymous search request by default.

@Mant1kor commented on GitHub (Nov 1, 2019): AFAIK, AD server don't accept anonymous search request by default.
Author
Owner

@okwindart commented on GitHub (Nov 1, 2019):

@philjak Thank you! That was it! I had to supply credentials for AD to work. I can now authenticate BookStack against AD.

@okwindart commented on GitHub (Nov 1, 2019): @philjak Thank you! That was it! I had to supply credentials for AD to work. I can now authenticate BookStack against AD.
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: starred/BookStack#1433