summaryrefslogtreecommitdiff
path: root/source4
diff options
context:
space:
mode:
authorGiampaolo Lauria <lauria2@yahoo.com>2011-11-14 17:54:29 -0500
committerAmitay Isaacs <amitay@samba.org>2011-11-15 02:51:15 +0100
commit2611003258255424bc4636b60f5e8a27b02d8a55 (patch)
tree0344acd94ea031aceab79f44a0da5b769fa720e8 /source4
parentf057cb4f84f0aafd8c1ecc046b8c92f2fb812f87 (diff)
downloadsamba-2611003258255424bc4636b60f5e8a27b02d8a55.tar.gz
samba-2611003258255424bc4636b60f5e8a27b02d8a55.tar.bz2
samba-2611003258255424bc4636b60f5e8a27b02d8a55.zip
samba-tool: Don't set UF_PASSWD_NOTREQD flag on "user disable"
Signed-off-by: Amitay Isaacs <amitay@gmail.com> Autobuild-User: Amitay Isaacs <amitay@samba.org> Autobuild-Date: Tue Nov 15 02:51:16 CET 2011 on sn-devel-104
Diffstat (limited to 'source4')
-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 a21ed76e6b..234a9b9df3 100644
--- a/source4/scripting/python/samba/samdb.py
+++ b/source4/scripting/python/samba/samdb.py
@@ -87,7 +87,7 @@ class SamDB(samba.Ldb):
samccountname=name)
"""
- flags = samba.dsdb.UF_ACCOUNTDISABLE | samba.dsdb.UF_PASSWD_NOTREQD
+ flags = samba.dsdb.UF_ACCOUNTDISABLE
self.toggle_userAccountFlags(search_filter, flags, on=True)
def enable_account(self, search_filter):