mirror of
https://github.com/saltstack/salt.git
synced 2025-04-17 10:10:20 +00:00
Merge pull request #34223 from peterdemin/bugfix-eauth-ldap-expanding
Fixed typo in filtering LDAP's potential_ous
This commit is contained in:
commit
0a0267149f
1 changed files with 1 additions and 1 deletions
|
@ -963,7 +963,7 @@ class CkMinions(object):
|
|||
for item in auth_list:
|
||||
if isinstance(item, six.string_types):
|
||||
continue
|
||||
ou_names.append([potential_ou for potential_ou in item.keys() if potential_ou.startswith('ldap(')])
|
||||
ou_names.extend([potential_ou for potential_ou in item.keys() if potential_ou.startswith('ldap(')])
|
||||
if ou_names:
|
||||
auth_list = salt.auth.ldap.expand_ldap_entries(auth_list, opts)
|
||||
return auth_list
|
||||
|
|
Loading…
Add table
Reference in a new issue