I changed nothing …
Because I have not received a reply so far, I have deleted and reinstalled the existing installation.
Although I can now login with the user “nc-admin”, but a connection to the DC is not possible.
During the installation, the “Administrator” from the DC will not be added to the Nextcloud group “admin”:
cat /var/log/univention/join.log
…
<?xml version="1.0"?>
ok
200
OK
modifying uid=nfsuser,cn=Managed ..
E: object not found
modifying Service ..
LDAP Error: Invalid DN syntax: invalid DN: Service
modifying Accounts,dc=family,dc=e-schuett,dc=de ..
LDAP Error: Invalid DN syntax: invalid DN: Accounts,dc=family,dc=e-schuett,dc=de
Could not add Administrator to admin group, because user was not found:
....
In front of the re-install I executed
su -c “psql -c “drop database nextcloud”” - postgres && \ su -c “dropuser “nextcloud”” - postgres && \ rm /etc/postgresql-nextcloud.secret
rm -Rf “/var/lib/univention-appcenter/apps/nextcloud”
and of course the UCS variables deleted.
I hang at the moment in the Nextcloud “Settings / LDAP / AD Integration” of the “nc_admin”, because no users found in the LDAP (but they are there incl. marked Nextcloud option).
I seems to me that the LDAP object is not properly created for the groups and users:
sudo -u www-data php /var/www/html/occ ldap:show-config
…
| ldapBase | dc=my,dc=domain,dc=de |
| ldapBaseGroups | dc=my,dc=domain,dc=de |
| ldapBaseUsers | dc=my,dc=domain,dc=de
…
At the moment I just do not know how I could change them.