I a Nexcloud with Ldap integration with admin group mapping, which works for first user but does not work for additional users.
select * from oc_ldap_group_mapping
owncloud_name | ldap_dn | directory_uuid | ldap_dn_hash
---------------+------------------------------------------+--------------------------------------+------------------------------------------------------------------
admin | cn=syncloud,ou=groups,dc=syncloud,dc=org | 06227b00-3ed4-103f-9dd4-79602987a642 | aac22646179b2b187a05c325be3431b95e39ef12a19def4ad4ea2e3aa0dc5123
user1 | cn=user1,ou=groups,dc=syncloud,dc=org | 6baf11b4-4086-103f-8ae0-71eebd0211de | 36c26fcfa5b882c27771912865a3907584dc43035390e1472ffe4205a1868b2c
(2 rows)
occ group:list
- admin:
- Test
- user1
- user1:
- user1
Test is admin (I can manage users on UI), but user1 is not admin (UI does not show any admin features like Users)
Both Test and user1 are part of a special ldap group (cn=syncloud,ou=groups,dc=syncloud,dc=org)
Tried:
occ group:removeuser admin user1
occ group:adduser admin user1
Nothing helps user1
Does anyone know how to make user an admin?
Does my ldap group mapping somehow breaks/conflicts with Nextcloud “admin” group.