Skip to content

Commit 7304785

Browse files
authored
docs: Update group membership fields to match application. (#28175)
Several fields in the "Verify group membership in LDAP" docs were confusingly titled when compared to the actual fields in the application, this change rectifies that by matching the docs to the fields already present in gitea. Signed-off-by: David Hulick <[email protected]>
1 parent c229e65 commit 7304785

File tree

1 file changed

+9
-9
lines changed

1 file changed

+9
-9
lines changed

docs/content/usage/authentication.en-us.md

Lines changed: 9 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -145,25 +145,25 @@ Adds the following fields:
145145

146146
Uses the following fields:
147147

148-
- Group Search Base (optional)
148+
- Group Search Base DN (optional)
149149

150150
- The LDAP DN used for groups.
151151
- Example: `ou=group,dc=mydomain,dc=com`
152152

153-
- Group Name Filter (optional)
154-
155-
- An LDAP filter declaring how to find valid groups in the above DN.
156-
- Example: `(|(cn=gitea_users)(cn=admins))`
153+
- Group Attribute Containing List Of Users (optional)
154+
- The attribute of the group object that lists/contains the group members.
155+
- Example: `memberUid` or `member`
157156

158-
- User Attribute in Group (optional)
157+
- User Attribute Listed in Group (optional)
159158

160159
- The user attribute that is used to reference a user in the group object.
161160
- Example: `uid` if the group objects contains a `member: bender` and the user object contains a `uid: bender`.
162161
- Example: `dn` if the group object contains a `member: uid=bender,ou=users,dc=planetexpress,dc=com`.
163162

164-
- Group Attribute for User (optional)
165-
- The attribute of the group object that lists/contains the group members.
166-
- Example: `memberUid` or `member`
163+
- Verify group membership in LDAP (optional)
164+
165+
- An LDAP filter declaring how to find valid groups in the above DN.
166+
- Example: `(|(cn=gitea_users)(cn=admins))`
167167

168168
## PAM (Pluggable Authentication Module)
169169

0 commit comments

Comments
 (0)