[Bug]: Cannot get LDAP to work #44896
Labels
0. Needs triage
Pending check for reproducibility or if it fits our roadmap
27-feedback
bug
feature: ldap
Bug description
When trying to set up a new LDAP connection, the setup wizard failes at the first steps with the error message
The Base DN appears to be wrong
andAn error occurred. Please check the Base DN, as well as connection settings and credentials.
when clicking onTest Base DN
.When executing ldapsearch from the Nextcloud Container, I can contact my LDAP server and query users. So I think there is no issue with my LDAP server or the network connection to it.
In the dev console of the browser, I can see the following messages:
will not save undefined key: ldap_base
will not save undefined key: ldap_dn
When starting a dev instance in a docker container on my local machine, I get an error that the LDAP server cannot be reached (which is true) and I can click on
Detect Port
, which does not work in my already existing instance. I am using SAML to for the user login, but I want to add LDAP, so I can automatically delete users, which are no longer existing.I am using Nextcloud Version
27.1.7
Steps to reproduce
Expected behavior
It is possible to set up a LDAP connection in the GUI wizard.
Installation method
Community Docker image
Nextcloud Server version
27
Operating system
Debian/Ubuntu
PHP engine version
None
Web server
Nginx
Database engine version
MariaDB
Is this bug present after an update or on a fresh install?
Updated from a MINOR version (ex. 22.1 to 22.2)
Are you using the Nextcloud Server Encryption module?
None
What user-backends are you using?
Configuration report
List of activated Apps
Nextcloud Signing status
No response
Nextcloud Logs
No response
Additional info
No response
The text was updated successfully, but these errors were encountered: