mirror of
https://github.com/samba-team/samba.git
synced 2025-07-04 00:59:13 +03:00
s4:setpassword script - Passwords set by this script are set by the administrator not the user
This commit is contained in:
@ -166,7 +166,7 @@ pwdLastSet: 0
|
||||
|
||||
glue.samdb_set_password(samdb=self, user_dn=str(user_dn),
|
||||
dom_dn=self.domain_dn(), mod=mod, new_password=password,
|
||||
user_change=True)
|
||||
user_change=False)
|
||||
|
||||
self.modify(mod)
|
||||
|
||||
|
Reference in New Issue
Block a user