[Bug]: LDAP User and Group Backend - Web UI repeately reports LDAP configuration as incomplete #42475
Closed
6 of 8 tasks
Labels
0. Needs triage
Pending check for reproducibility or if it fits our roadmap
28-feedback
bug
feature: ldap
needs info
stale
Ticket or PR with no recent activity
Bug description
I have configured the LDAP User and Group Backend via the Web UI and it is working. LDAP users and groups are found, LDAP users can login and create shares with other LDAP users and groups. Access to shares with groups are granted according the LDAP group memberships as expected. If I check the LDAP configuration from the CLI, everything looks good, too.
However, when I navigate to Settings -> Admin -> LDAP again, the LDAP configuration is only partially filled and reported as incomplete. Moreover, I cannot neither complete the LDAP configuration nor delete it. If I try to complete the configuration and save it, Nextcloud UI reports that it wan't able to connect to the LDAP server. (But it can, CLI reports otherwise and LDAP logins are still working). If I try to delete the offending allegedly incomplete configuration, it is seemingly deleted without an error, but when I refresh the page or browse somewhere else and then come back to Settings -> Admin -> LDAP the configuration reappears and is reported as incomplete again.
Note, LDAP works and I can also use the CLI to check or modify LDAP settings if I had to, hence it is not a severe issue for me, but the GUI settings should properly work, too.
Screenshot of LDAP Settings (Note: The German text on the lower left says "Configuration incomplete")
Screenshot of LDAP-related commands on CLI:
And for better searchability, the LDAP config as text (empty value omitted):
Steps to reproduce
Expected behavior
The GUI setting page for "LDAP User and Group Backend" should show the complete LDAP configuration as it is
Installation method
Community Manual installation with Archive
Nextcloud Server version
28
Operating system
Other
PHP engine version
PHP 8.2
Web server
Apache (supported)
Database engine version
PostgreSQL
Is this bug present after an update or on a fresh install?
Fresh Nextcloud Server install
Are you using the Nextcloud Server Encryption module?
None
What user-backends are you using?
Configuration report
List of activated Apps
Nextcloud Signing status
Nextcloud Logs
Additional info
No response
The text was updated successfully, but these errors were encountered: