summaryrefslogtreecommitdiff
path: root/source3/lib/netapi/examples
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/lib/netapi/examples
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/lib/netapi/examples')
-rw-r--r--source3/lib/netapi/examples/netdomjoin-gui/netdomjoin-gui.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/source3/lib/netapi/examples/netdomjoin-gui/netdomjoin-gui.c b/source3/lib/netapi/examples/netdomjoin-gui/netdomjoin-gui.c
index 8164b7456b..629a447a24 100644
--- a/source3/lib/netapi/examples/netdomjoin-gui/netdomjoin-gui.c
+++ b/source3/lib/netapi/examples/netdomjoin-gui/netdomjoin-gui.c
@@ -655,7 +655,8 @@ static void callback_do_join(GtkWidget *widget,
unjoin_creds_required = TRUE;
join_creds_required = FALSE;
unjoin_flags = NETSETUP_JOIN_DOMAIN |
- NETSETUP_ACCT_DELETE;
+ NETSETUP_ACCT_DELETE |
+ NETSETUP_IGNORE_UNSUPPORTED_FLAGS;
}
if (try_unjoin) {