Skip to content

Commit

Permalink
Merge pull request #34714 from sjmh/fix/ldap_auth
Browse files Browse the repository at this point in the history
Fix ldap auth for function matches
  • Loading branch information
Mike Place committed Jul 16, 2016
2 parents 40626d7 + d414403 commit 922cc5a
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions salt/auth/ldap.py
Original file line number Diff line number Diff line change
Expand Up @@ -391,6 +391,8 @@ def expand_ldap_entries(entries, opts=None):
bind = _bind_for_search(opts=opts)
acl_tree = []
for user_or_group_dict in entries:
if not isinstance(user_or_group_dict, dict):
acl_tree.append(user_or_group_dict)
for minion_or_ou, matchers in six.iteritems(user_or_group_dict):
permissions = matchers
retrieved_minion_ids = []
Expand Down

0 comments on commit 922cc5a

Please sign in to comment.