summaryrefslogtreecommitdiffstats
path: root/modules/auth/ldap/README.md
diff options
context:
space:
mode:
authorJohn Olheiser <john.olheiser@gmail.com>2020-09-10 10:30:07 -0500
committerGitHub <noreply@github.com>2020-09-10 16:30:07 +0100
commitc3e8c9441ad0e90bb0567af0bf7e9444aa8f4ad5 (patch)
tree96c8e00c1ff4b09f616df5805af6a3db11196fda /modules/auth/ldap/README.md
parent4c42fce40175b735a689289bf61ca65a8e2266b2 (diff)
downloadgitea-c3e8c9441ad0e90bb0567af0bf7e9444aa8f4ad5.tar.gz
gitea-c3e8c9441ad0e90bb0567af0bf7e9444aa8f4ad5.zip
Add check for LDAP group membership (#10869)
This is a port of gogs/gogs#4398 The only changes made by myself are: Add locales Add some JS to the UI Otherwise all code credit goes to @aboron Resolves #10829 Signed-off-by: jolheiser <john.olheiser@gmail.com> Co-authored-by: zeripath <art27@cantab.net>
Diffstat (limited to 'modules/auth/ldap/README.md')
-rw-r--r--modules/auth/ldap/README.md18
1 files changed, 18 insertions, 0 deletions
diff --git a/modules/auth/ldap/README.md b/modules/auth/ldap/README.md
index 4f7961da6b..76841f44ae 100644
--- a/modules/auth/ldap/README.md
+++ b/modules/auth/ldap/README.md
@@ -103,3 +103,21 @@ share the following fields:
matching parameter will be substituted with the user's username.
* Example: (&(objectClass=posixAccount)(cn=%s))
* Example: (&(objectClass=posixAccount)(uid=%s))
+
+**Verify group membership in LDAP** uses the following fields:
+
+* Group Search Base (optional)
+ * The LDAP DN used for groups.
+ * Example: ou=group,dc=mydomain,dc=com
+
+* Group Name Filter (optional)
+ * An LDAP filter declaring how to find valid groups in the above DN.
+ * Example: (|(cn=gitea_users)(cn=admins))
+
+* User Attribute in Group (optional)
+ * Which user LDAP attribute is listed in the group.
+ * Example: uid
+
+* Group Attribute for User (optional)
+ * Which group LDAP attribute contains an array above user attribute names.
+ * Example: memberUid