-
-
Notifications
You must be signed in to change notification settings - Fork 4.1k
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
[Bug]: LDAP User and Group Backend - Groups are not shown in Settings -> User, but groups are available on CLI and in other dialogs #42474
Comments
Sorry, I forgot to put that into the report int the first place: Tested with Firefox 119.0.1 and Chrome 119.0.6045.123 on Gentoo Linux and Firefox 121.0 on Windows 11 (each with all extensions disabled). The only suspicious message in the developer console (in Firefox and Chrome) is: |
I guess I have found the underlying problem for this bug as well as #42475. It seems to be a permission-related problem. I had promoted the LDAP group However, if I login with the original admin user I gave it a trial and also made one of my LDAP-admin users (
Please note, that my user Apparently, promoting the LDAP group |
This issue has been automatically marked as stale because it has not had recent activity and seems to be missing some essential information. It will be closed if no further activity occurs. Thank you for your contributions. |
Bug description
I have set up LDAP User and Group Backend for users and groups. LDAP users, groups and group memberships seem to work, but when I navigate to "Settings -> Users" neither the groups are shown nor does the page list the group membership of the LDAP users.
Expected behavior: Settings -> User should properly show LDAP groups and group memberships for LDAP users
Actual behavior: Settings -> Users only shows LDAP users, but neither shows LDAP groups nor group memberhips
When I press the button "Verify settings and count groups" during setup, Nextcloud correctly reports the number of groups. When I run
occ group:list
on the CLI,occ
correctly reports all LDAP groups.occ group:info
also works for an LDAP group. When I runocc:user:info <some LDAP UUID>
on the CLI,occ
correctly reports LDAP group memberships. When someone tries to share something (file/directory/calendar/other stuff) and starts typing the name of the entity to share with, auto-completion also includes LDAP groups. It is possible to share stuff with LDAP groups and access rights are granted to users as expected.Screenshot of the Settings -> User page (Note: Groups and group memberships are erroneously NOT shown):
Screenshot of CLI commands:
Screenshot of auto-completion during sharing (LDAP groups actually work and are found):
Steps to reproduce
Expected behavior
Groups and group memberships should be shown.
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: