-
-
Notifications
You must be signed in to change notification settings - Fork 1.9k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
LDAP over SSO - ldap_bind(): Unable to bind to server: Can't contact LDAP server #4240
Comments
Hi @TomBachelot, typically either BookStack is failing to reach the LDAP system, or the TLS is failing when attempted to be upgraded by the host system. Does the result change when you change |
@ssddanbrown, Yes the result does change when I change LDAP_START_TLS to true but I still get an error unfortunately: Otherwise, yes I'm sure that the LDAP system can be reached on the configured address. I can provide you the Stack Trace if you want ? |
I don't think the BookStack stack trace will provide any extra context in this case. Have you done anything to check the connection from this specific host system? Test-NetConnection -ComputerName srv-dc01-2019.gesconseils.local -Port 389 |
@ssddanbrown, thanks for helping me because im very in need ! I tried the PowerShell command you gave me and it seems to be ok : but I made a typing error in the server address. Now it's working a bit more, here is what I got: I tried the ldap auth method without using the LDPA_START_TLS and i've got no errors but without knowing why it says "this informations does not match any account" And when I try with the LDAP_START_TLS=true , i have an issue : |
Okay, leave
This usually indicates that the password is incorrect or, more likely, no matching user is coming back in the LDAP search BookStack is performing. Are you sure your The only other immediately suspicious element of your config is the |
Since there's been no further follow up I'll close this off. |
Attempted Debugging
Searched GitHub Issues
Describe the Scenario
Hi Dan,
I am currently trying to connect my Bookstack server (on Xampp) to my active directory but it is not working and I can't figure out why. I work in a large company, so I need to set up LDAP based authentication. I want an authenticated user to have direct access to boockstack without needing to authenticate through the sso link.
I followed your video on ldpa but when I use it, it doesn't work, the problem would come from the Active Directory consultation. Here is the error I get:
Here is the AD part of my configuration file:
Exact BookStack Version
v23.05.1
Log Content
Details
PHP Version
8.2.4
Hosting Environment
Windows 10 , xampp server, Theme Configured: custom
The text was updated successfully, but these errors were encountered: