Browse Source

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>
tags/v1.20.4
techknowlogick 9 months ago
parent
commit
b6fd1e48c0
No account linked to committer's email address

+ 5
- 4
docs/content/usage/authentication.en-us.md View File



- User Attribute in Group (optional) - 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) - 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) ## PAM (Pluggable Authentication Module)



+ 5
- 4
services/auth/source/ldap/README.md View File

* 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.
* 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) * 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) * 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…
Cancel
Save