aboutsummaryrefslogtreecommitdiffstats
path: root/services
diff options
context:
space:
mode:
authortechknowlogick <techknowlogick@gitea.com>2023-09-05 22:41:10 -0400
committerGitHub <noreply@github.com>2023-09-05 22:41:10 -0400
commitb6fd1e48c0bf8a19853be8e88d9d4cd7acc99683 (patch)
treec09e1add9faeb769692e11a2bb74bcd655acc1b9 /services
parent69c4e2954ce98e75e912f27bb5b0aa4ca94075b7 (diff)
downloadgitea-b6fd1e48c0bf8a19853be8e88d9d4cd7acc99683.tar.gz
gitea-b6fd1e48c0bf8a19853be8e88d9d4cd7acc99683.zip
Improve LDAP group config documentation (#21227) (#26921)
backport #21227 author @svenseeberg Co-authored-by: Sven Seeberg <mail@sven-seeberg.de> Co-authored-by: Giteabot <teabot@gitea.io>
Diffstat (limited to 'services')
-rw-r--r--services/auth/source/ldap/README.md9
1 files changed, 5 insertions, 4 deletions
diff --git a/services/auth/source/ldap/README.md b/services/auth/source/ldap/README.md
index 568bc78275..34c811703f 100644
--- a/services/auth/source/ldap/README.md
+++ b/services/auth/source/ldap/README.md
@@ -114,12 +114,13 @@ share the following fields:
* Example: (|(cn=gitea_users)(cn=admins))
* User Attribute in Group (optional)
- * Which user LDAP attribute is listed in the group.
- * Example: uid
+ * The user attribute that is used to reference a user in the group object.
+ * Example: uid if the group objects contains a member: bender and the user object contains a uid: bender.
+ * Example: dn if the group object contains a member: uid=bender,ou=users,dc=planetexpress,dc=com.
* Group Attribute for User (optional)
- * Which group LDAP attribute contains an array above user attribute names.
- * Example: memberUid
+ * The attribute of the group object that lists/contains the group members.
+ * Example: memberUid or member
* Team group map (optional)
* Automatically add users to Organization teams, depending on LDAP group memberships.