summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMatthias Dieter Wallnöfer <mwallnoefer@yahoo.de>2009-09-08 12:02:22 +0200
committerMatthias Dieter Wallnöfer <mwallnoefer@yahoo.de>2009-09-08 12:02:22 +0200
commit9c4827e433e675292892bc82743d885b53574c9a (patch)
treecc1b6d1c0548f9e2fa79e7415edb805607df1649
parent51479feb20faf883f86a30e4aeb2b69858a28661 (diff)
downloadsamba-9c4827e433e675292892bc82743d885b53574c9a.tar.gz
samba-9c4827e433e675292892bc82743d885b53574c9a.tar.bz2
samba-9c4827e433e675292892bc82743d885b53574c9a.zip
s4:setpassword script - Passwords set by this script are set by the administrator not the user
-rw-r--r--source4/scripting/python/samba/samdb.py2
1 files changed, 1 insertions, 1 deletions
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)