diff --git a/admin_manual/configuration_user/user_auth_ldap.rst b/admin_manual/configuration_user/user_auth_ldap.rst index 714478726..3c82cf1d3 100644 --- a/admin_manual/configuration_user/user_auth_ldap.rst +++ b/admin_manual/configuration_user/user_auth_ldap.rst @@ -376,6 +376,13 @@ Group Member association: * Example: *uniquemember* +Nested groups: + Enable group member retrieval from sub groups. + + To allow user listing and login from nested groups, please see **User listing + and login per nested groups** in the section **Troubleshooting, Tips and + Tricks**. + Enable LDAP password changes per user: Allow LDAP users to change their password and allow Super Administrators and Group Administrators to change the password of their LDAP users. @@ -606,6 +613,22 @@ querying user the permissions to use it. For Microsoft Active Directory this is described `here `_. +User listing and login per nested groups +^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ + +When it is intended to allow user listing and login based on a specific group +having subgroups ("nested groups"), checking **Nested groups** on **Directory +Settings** is not enough. Also the User (and Login) filter need to be changed, +by specifying the ``LDAP_MATCHING_RULE_IN_CHAIN`` matching rule. Change the +filter parts containing the *memberof* condition according to this example: + + * (memberof=cn=Nextcloud Users Group,ou=Groups,…) + +to + + * (memberof:1.2.840.113556.1.4.1941:=cn=Nextcloud Users Group,ou=Groups,…) + + Duplicating server configurations ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^