Problem: Nextcloud group mapping with LDAP not matching


After renaming of a bulk of groupnames (f.e. change of schoolyear) the groupname in LDAP and in Nextcloud is not matching.


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


If possible test this with a clone in a test environment first!

  1. Log into Nextcloud GUI as adminstrator

  2. Go to settings → LDAP / AD integration → Expert and press “Clear Groupname LDAP-Group mapping”

  3. Remount the shares by:

univention-directory-listener-ctrl resync nextcloud-samba-group-share-config

  1. Print and check the Mountlist:

univention-app shell nextcloud sudo -u www-data /var/www/html/occ files_external:list

This topic was automatically closed after 24 hours. New replies are no longer allowed.