diff options
-rw-r--r-- | source3/lib/netapi/examples/netdomjoin-gui/netdomjoin-gui.c | 3 | ||||
-rw-r--r-- | source3/utils/net_dom.c | 3 |
2 files changed, 4 insertions, 2 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) { 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; |