diff options
author | Giampaolo Lauria <lauria2@yahoo.com> | 2011-11-14 17:54:29 -0500 |
---|---|---|
committer | Amitay Isaacs <amitay@samba.org> | 2011-11-15 02:51:15 +0100 |
commit | 2611003258255424bc4636b60f5e8a27b02d8a55 (patch) | |
tree | 0344acd94ea031aceab79f44a0da5b769fa720e8 | |
parent | f057cb4f84f0aafd8c1ecc046b8c92f2fb812f87 (diff) | |
download | samba-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
-rw-r--r-- | source4/scripting/python/samba/samdb.py | 2 |
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): |