summaryrefslogtreecommitdiff
path: root/source3/utils/net.h
diff options
context:
space:
mode:
authorJustin Stephenson <jstephen@redhat.com>2018-06-27 11:32:31 -0400
committerAndrew Bartlett <abartlet@samba.org>2018-07-30 07:34:11 +0200
commitd881f0c8a0ce2fc7cabf1966c5724e72c70d6694 (patch)
treefbb163a47236598373fa3d8e453b917f19b2eb0a /source3/utils/net.h
parente3ce1a2dfc4cbba4bf22381b91e9a14c8f240f5d (diff)
downloadsamba-d881f0c8a0ce2fc7cabf1966c5724e72c70d6694.tar.gz
s3:libads: Add net ads leave keep-account option
Add the ability to leave the domain with --keep-account argument to avoid removal of the host machine account. BUG: https://bugzilla.samba.org/show_bug.cgi?id=13498 Signed-off-by: Justin Stephenson <jstephen@redhat.com> Reviewed-by: Andrew Bartlett <abartlet@samba.org> Reviewed-by: Alexander Bokovoy <ab@samba.org>
Diffstat (limited to 'source3/utils/net.h')
-rw-r--r--source3/utils/net.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/source3/utils/net.h b/source3/utils/net.h
index d6dfeb6208f..5e70fd3aafa 100644
--- a/source3/utils/net.h
+++ b/source3/utils/net.h
@@ -85,6 +85,7 @@ struct net_context {
int opt_wipe;
const char *opt_precheck;
int opt_no_dns_updates;
+ int opt_keep_account;
int opt_have_ip;
struct sockaddr_storage opt_dest_ip;