Fix passwd function call

pull/44386/merge
Brown 6 years ago committed by ansibot
parent ce541454e9
commit 4558c9102a

@ -117,7 +117,7 @@ class LdapPasswd(LdapGeneric):
# Change the password (or throw an exception)
try:
self.connection.passwd_set(self.dn, None, self.passwd)
self.connection.passwd(self.dn, None, self.passwd)
except ldap.LDAPError as e:
self.fail("Unable to set password", e)

Loading…
Cancel
Save