From 2611003258255424bc4636b60f5e8a27b02d8a55 Mon Sep 17 00:00:00 2001 From: Giampaolo Lauria Date: Mon, 14 Nov 2011 17:54:29 -0500 Subject: samba-tool: Don't set UF_PASSWD_NOTREQD flag on "user disable" Signed-off-by: Amitay Isaacs Autobuild-User: Amitay Isaacs Autobuild-Date: Tue Nov 15 02:51:16 CET 2011 on sn-devel-104 --- 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 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): -- cgit