Skip to content

Commit

Permalink
Fix grafana user search to filter for posixAccount objectClass
Browse files Browse the repository at this point in the history
PNDA-4822
  • Loading branch information
stephanesan committed Aug 6, 2018
1 parent 57f8929 commit 605abfd
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion salt/grafana/templates/ldap.toml.tpl
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ use_ssl = false
#bind_password = 'admin'

# User search filter, for example "(cn=%s)" or "(sAMAccountName=%s)" or "(uid=%s)"
search_filter = "(cn=%s)"
search_filter = "(&(objectClass=posixAccount)(cn=%s))"

# An array of base dns to search through
search_base_dns = ["{{ ldap_search_base_dns }}"]
Expand Down

0 comments on commit 605abfd

Please sign in to comment.