mirror of
https://codeberg.org/forgejo/forgejo.git
synced 2024-12-27 02:10:40 +00:00
Improve the wording of the LDAP group attributes documentation and expand the examples.
This commit is contained in:
parent
e67ddaa0f8
commit
5f7fa27a44
2 changed files with 10 additions and 8 deletions
|
@ -157,12 +157,13 @@ Uses the following fields:
|
||||||
|
|
||||||
- User Attribute in Group (optional)
|
- User Attribute in Group (optional)
|
||||||
|
|
||||||
- Which user LDAP attribute is listed in the group.
|
- The user attribute that is used to reference a user in the group object.
|
||||||
- Example: `uid`
|
- 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)
|
- Group Attribute for User (optional)
|
||||||
- Which group LDAP attribute contains an array above user attribute names.
|
- The attribute of the group object that lists/contains the group members.
|
||||||
- Example: `memberUid`
|
- Example: `memberUid` or `member`
|
||||||
|
|
||||||
## PAM (Pluggable Authentication Module)
|
## PAM (Pluggable Authentication Module)
|
||||||
|
|
||||||
|
|
|
@ -114,12 +114,13 @@ share the following fields:
|
||||||
* Example: (|(cn=gitea_users)(cn=admins))
|
* Example: (|(cn=gitea_users)(cn=admins))
|
||||||
|
|
||||||
* User Attribute in Group (optional)
|
* User Attribute in Group (optional)
|
||||||
* Which user LDAP attribute is listed in the group.
|
* The user attribute that is used to reference a user in the group object.
|
||||||
* Example: uid
|
* 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)
|
* Group Attribute for User (optional)
|
||||||
* Which group LDAP attribute contains an array above user attribute names.
|
* The attribute of the group object that lists/contains the group members.
|
||||||
* Example: memberUid
|
* Example: memberUid or member
|
||||||
|
|
||||||
* Team group map (optional)
|
* Team group map (optional)
|
||||||
* Automatically add users to Organization teams, depending on LDAP group memberships.
|
* Automatically add users to Organization teams, depending on LDAP group memberships.
|
||||||
|
|
Loading…
Reference in a new issue