From 9c4827e433e675292892bc82743d885b53574c9a Mon Sep 17 00:00:00 2001 From: Matthias Dieter Wallnöfer Date: Tue, 8 Sep 2009 12:02:22 +0200 Subject: s4:setpassword script - Passwords set by this script are set by the administrator not the user --- source4/scripting/python/samba/samdb.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'source4/scripting/python') diff --git a/source4/scripting/python/samba/samdb.py b/source4/scripting/python/samba/samdb.py index b78c8f37d9..3f4252b36a 100644 --- a/source4/scripting/python/samba/samdb.py +++ b/source4/scripting/python/samba/samdb.py @@ -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) -- cgit