Skip to content

Commit

Permalink
Add config example for LDAP groupOfUniqueNames group structure (#1549)
Browse files Browse the repository at this point in the history
* Add config example for groupOfUniqueNames group structure

* Update ldap.md

Co-authored-by: James Elliott <james-d-elliott@users.noreply.github.com>
  • Loading branch information
zmiguel and james-d-elliott committed Dec 21, 2020
1 parent d5904bd commit 39bb2d2
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 0 deletions.
1 change: 1 addition & 0 deletions config.template.yml
Original file line number Diff line number Diff line change
Expand Up @@ -161,6 +161,7 @@ authentication_backend:
# - {mail_attribute} is a placeholder replaced by what is configured in `mail_attribute`.
# - DON'T USE - {0} is an alias for {input} supported for backward compatibility but it will be deprecated in later versions, so please don't use it.
# - DON'T USE - {1} is an alias for {username} supported for backward compatibility but it will be deprecated in later version, so please don't use it.
# If your groups use the `groupOfUniqueNames` structure use this instead: (&(uniquemember={dn})(objectclass=groupOfUniqueNames))
groups_filter: (&(member={dn})(objectclass=groupOfNames))

# The attribute holding the name of the group
Expand Down
1 change: 1 addition & 0 deletions docs/configuration/authentication/ldap.md
Original file line number Diff line number Diff line change
Expand Up @@ -107,6 +107,7 @@ authentication_backend:
# - {mail_attribute} is a placeholder replaced by what is configured in `mail_attribute`.
# - DON'T USE - {0} is an alias for {input} supported for backward compatibility but it will be deprecated in later versions, so please don't use it.
# - DON'T USE - {1} is an alias for {username} supported for backward compatibility but it will be deprecated in later version, so please don't use it.
# If your groups use the `groupOfUniqueNames` structure use this instead: (&(uniquemember={dn})(objectclass=groupOfUniqueNames))
groups_filter: (&(member={dn})(objectclass=groupOfNames))

# The attribute holding the name of the group
Expand Down

0 comments on commit 39bb2d2

Please sign in to comment.