summaryrefslogtreecommitdiff
path: root/source3/utils/net.c
diff options
context:
space:
mode:
authorMichael Adam <obnox@samba.org>2015-09-09 08:28:43 +0200
committerJeremy Allison <jra@samba.org>2015-09-09 21:34:15 +0200
commitae81a40b1193ef93add61666ace6fff1a1e0676a (patch)
tree9920ba8cb3b62baf40cac87efd346c847c92a1bb /source3/utils/net.c
parenta44a0c47cb3d356b164b2f5cb54d6942c33f9d6f (diff)
downloadsamba-ae81a40b1193ef93add61666ace6fff1a1e0676a.tar.gz
net: add option --no-dns-updates for net ads join
If called with this option, 'net ads join' will not attempt to perform dns updates. Signed-off-by: Michael Adam <obnox@samba.org> Reviewed-by: Andreas Schneider <asn@samba.org>
Diffstat (limited to 'source3/utils/net.c')
-rw-r--r--source3/utils/net.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/source3/utils/net.c b/source3/utils/net.c
index 8182323a10a..6bf719b27c9 100644
--- a/source3/utils/net.c
+++ b/source3/utils/net.c
@@ -839,6 +839,8 @@ static struct functable net_func[] = {
{"wipe", 0, POPT_ARG_NONE, &c->opt_wipe},
/* Options for 'net registry import' */
{"precheck", 0, POPT_ARG_STRING, &c->opt_precheck},
+ /* Options for 'net ads join' */
+ {"no-dns-updates", 0, POPT_ARG_NONE, &c->opt_no_dns_updates},
POPT_COMMON_SAMBA
{ 0, 0, 0, 0}
};