mirror of
https://github.com/ansible-collections/community.general.git
synced 2026-05-07 05:42:50 +00:00
Fix passwd function call
This commit is contained in:
@@ -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)
|
||||
|
||||
|
||||
Reference in New Issue
Block a user