summaryrefslogtreecommitdiffstats
path: root/docs
diff options
context:
space:
mode:
authorSven Seeberg <mail@sven-seeberg.de>2023-09-05 19:18:53 +0200
committerGitHub <noreply@github.com>2023-09-05 13:18:53 -0400
commit5f7fa27a447fbbc978283009e1913aee0aab2cfc (patch)
tree6e96e297f922ca9e2e7e19f2243355ba4721ebc5 /docs
parente67ddaa0f857d460a4631912a1445396e9df5398 (diff)
downloadgitea-5f7fa27a447fbbc978283009e1913aee0aab2cfc.tar.gz
gitea-5f7fa27a447fbbc978283009e1913aee0aab2cfc.zip
Improve LDAP group config documentation, fixes #21159 (#21227)
Improve the wording of the LDAP group attributes documentation and expand the examples.
Diffstat (limited to 'docs')
-rw-r--r--docs/content/usage/authentication.en-us.md9
1 files changed, 5 insertions, 4 deletions
diff --git a/docs/content/usage/authentication.en-us.md b/docs/content/usage/authentication.en-us.md
index 4ab5cad3e1..6e4ede0be6 100644
--- a/docs/content/usage/authentication.en-us.md
+++ b/docs/content/usage/authentication.en-us.md
@@ -157,12 +157,13 @@ Uses the following fields:
- 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`
## PAM (Pluggable Authentication Module)