Skip to content

Commit

Permalink
Merge pull request #55651 from sathieu/fix-ldap-managed
Browse files Browse the repository at this point in the history
Fix ldap.managed errors
  • Loading branch information
dwoz authored Dec 24, 2019
2 parents 899b63f + d0fcb9c commit 84d699f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion salt/modules/ldap3.py
Original file line number Diff line number Diff line change
Expand Up @@ -409,7 +409,7 @@ def add(connect_spec, dn, attributes):
if 'unicodePwd' in attributes:
attributes['unicodePwd'] = [_format_unicode_password(x) for x in attributes['unicodePwd']]

modlist = ldap.modlist.addModlist(attributes),
modlist = ldap.modlist.addModlist(attributes)
try:
l.c.add_s(dn, modlist)
except ldap.LDAPError as e:
Expand Down

0 comments on commit 84d699f

Please sign in to comment.