summaryrefslogtreecommitdiff
path: root/source3/utils
diff options
context:
space:
mode:
authorGünther Deschner <gd@samba.org>2009-04-30 23:37:26 +0200
committerGünther Deschner <gd@samba.org>2009-04-30 23:40:09 +0200
commitab4b8c9c0438bc5afca17e3ebf05dde6f98bc0aa (patch)
treefe3ad7880959252f52a8e0e67684a5cba73db12a /source3/utils
parent26b9c9370ce047ecc732082b2b554ffc295ae406 (diff)
downloadsamba-ab4b8c9c0438bc5afca17e3ebf05dde6f98bc0aa.tar.gz
samba-ab4b8c9c0438bc5afca17e3ebf05dde6f98bc0aa.tar.bz2
samba-ab4b8c9c0438bc5afca17e3ebf05dde6f98bc0aa.zip
s3-netapi: Fix Bug #6309: support remote unjoining of Windows 2003 or greater.
Found by David Markey <admin@dmarkey.com>. Thanks! Guenther
Diffstat (limited to 'source3/utils')
-rw-r--r--source3/utils/net_dom.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/source3/utils/net_dom.c b/source3/utils/net_dom.c
index 132630de55..3bf6a27289 100644
--- a/source3/utils/net_dom.c
+++ b/source3/utils/net_dom.c
@@ -38,7 +38,8 @@ static int net_dom_unjoin(struct net_context *c, int argc, const char **argv)
const char *account = NULL;
const char *password = NULL;
uint32_t unjoin_flags = NETSETUP_ACCT_DELETE |
- NETSETUP_JOIN_DOMAIN;
+ NETSETUP_JOIN_DOMAIN |
+ NETSETUP_IGNORE_UNSUPPORTED_FLAGS;
struct cli_state *cli = NULL;
bool do_reboot = false;
NTSTATUS ntstatus;