From 05d7f0693f77c5ed85b5125cc60b142b8601153a Mon Sep 17 00:00:00 2001 From: Alex Black Date: Thu, 20 Oct 2016 17:11:53 -0700 Subject: [PATCH] modules.win_system.py: Fix flag disabling AD Computer objects --- salt/modules/win_system.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/salt/modules/win_system.py b/salt/modules/win_system.py index 8bf8a2ff45..87f8d6e435 100644 --- a/salt/modules/win_system.py +++ b/salt/modules/win_system.py @@ -759,7 +759,7 @@ def unjoin_domain(username=None, if username and password is None: return 'Must specify a password if you pass a username' - NETSETUP_ACCT_DELETE = 0x2 # pylint: disable=invalid-name + NETSETUP_ACCT_DELETE = 0x4 # pylint: disable=invalid-name unjoin_options = 0x0 if disable: