Closed PaulaBras closed 1 year ago
@PaulaBras This will likely be closed since you have not followed the issue template at all.
This container should already have the php-ldap extensions installed for ldap to work in BookStack. If you are getting a particular error that may suggest otherwise, it would be useful to provide that error or detail the exact issue you're seeing, and what you're doing to produce the error.
@PaulaBras This will likely be closed since you have not followed the issue template at all.
This container should already have the php-ldap extensions installed for ldap to work in BookStack. If you are getting a particular error that may suggest otherwise, it would be useful to provide that error or detail the exact issue you're seeing, and what you're doing to produce the error.
Apologies for the inconvenience. I have adjusted the post.
@PaulaBras Thanks! It's getting fairly far down the logic so that re-assures the required PHP ldap extension is installed and active.
From what I can see, this error can commonly be thrown if the ldap base DN is invalid. Can you double check your LDAP_BASE_DN
value for any errors, or maybe test a base DN that's higher up the directory tree?
After fiddling a little with the settings, I found out that you were right. For future use: check at this error "LDAP_BASE_DN" and test it with "dc=example,dc=com" only to get it running. Add OUs later if you got any problems.
Thanks for the help @ssddanbrown .
I would like to have an LDAP implementation for Docker. Unfortunately, according to the bookstack documentation, this is currently not possible. As you can see below, there is no PHP module.
Currently, bookstack is running as Docker on a Debian 11 machine with Docker version 20.10.17, build 100c701.
Desired Behavior
Current config in .env:
Current Behavior
LDAP Login tried with domain\user and user. Both are currently running into an error: ldap_search cannot be found occurs.
Stack Trace
Alternatives Considered
none
Environment
OS: Linux Debian CPU architecture: x86_64 How docker service was installed with Portianer. Database is a MariaDB on the network. Access is given throw a nginx reverse proxy.
Docker logs
n/a -