Problem
After renaming of a bulk of groupnames (f.e. change of schoolyear) the groupname in LDAP and in Nextcloud is not matching.
Environment
UCS@school single server environment
UCS 4.4-8 errata1077, ucsschool 4.4 v9, nextcloud app 21.0.4-0
Happened after schoolyear switch ~ 150 groups
Solution
If possible test this with a clone in a test environment first!
-
Log into Nextcloud GUI as adminstrator
-
Go to settings → LDAP / AD integration → Expert and press “Clear Groupname LDAP-Group mapping”
-
Remount the shares by:
univention-directory-listener-ctrl resync nextcloud-samba-group-share-config
- Print and check the Mountlist:
univention-app shell nextcloud sudo -u www-data /var/www/html/occ files_external:list