mirror of
https://github.com/ansible-collections/community.general.git
synced 2024-09-14 20:13:21 +02:00
Fix passwd function call
This commit is contained in:
parent
ce541454e9
commit
4558c9102a
1 changed files with 1 additions and 1 deletions
|
@ -117,7 +117,7 @@ class LdapPasswd(LdapGeneric):
|
||||||
|
|
||||||
# Change the password (or throw an exception)
|
# Change the password (or throw an exception)
|
||||||
try:
|
try:
|
||||||
self.connection.passwd_set(self.dn, None, self.passwd)
|
self.connection.passwd(self.dn, None, self.passwd)
|
||||||
except ldap.LDAPError as e:
|
except ldap.LDAPError as e:
|
||||||
self.fail("Unable to set password", e)
|
self.fail("Unable to set password", e)
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue