feat(ldap): refactoring of PR #2928 updated docs
This commit is contained in:
+7
-18
@@ -18,30 +18,19 @@ bind_dn = "cn=admin,dc=grafana,dc=org"
|
||||
# Search user bind password
|
||||
bind_password = 'grafana'
|
||||
|
||||
# Schema's supporting memberOf
|
||||
|
||||
# Search filter, for example "(cn=%s)" or "(sAMAccountName=%s)"
|
||||
# User search filter, for example "(cn=%s)" or "(sAMAccountName=%s)" or "(uid=%s)"
|
||||
search_filter = "(cn=%s)"
|
||||
|
||||
# An array of base dns to search through
|
||||
search_base_dns = ["dc=grafana,dc=org"]
|
||||
|
||||
# Uncomment this section (and comment out the previous 2 entries) to use POSIX schema.
|
||||
# In POSIX LDAP schemas, querying the people 'ou' gives you entries that do not have a
|
||||
# memberOf attribute, so a secondary query must be made for groups. This is done by
|
||||
# enabling group_search_filter below. You must also set
|
||||
# member_of = "cn"
|
||||
# In POSIX LDAP schemas, without memberOf attribute a secondary query must be made for groups.
|
||||
# This is done by enabling group_search_filter below. You must also set member_of= "cn"
|
||||
# in [servers.attributes] below.
|
||||
#
|
||||
# Search filter, used to retrieve the user
|
||||
# search_filter = "(uid=%s)"
|
||||
#
|
||||
# An array of the base DNs to search through for users. Typically uses ou=people.
|
||||
# search_base_dns = ["ou=people,dc=grafana,dc=org"]
|
||||
#
|
||||
# Group search filter, to retrieve the groups of which the user is a member
|
||||
|
||||
## Group search filter, to retrieve the groups of which the user is a member (only set if memberOf attribute is not available)
|
||||
# group_search_filter = "(&(objectClass=posixGroup)(memberUid=%s))"
|
||||
#
|
||||
# An array of the base DNs to search through for groups. Typically uses ou=groups
|
||||
## An array of the base DNs to search through for groups. Typically uses ou=groups
|
||||
# group_search_base_dns = ["ou=groups,dc=grafana,dc=org"]
|
||||
|
||||
# Specify names of the ldap attributes your ldap uses
|
||||
|
||||
Reference in New Issue
Block a user