From 47f499abf65d1a3d3f82e4a56878d33140d46a68 Mon Sep 17 00:00:00 2001 From: Gregor Beck Date: Tue, 8 Feb 2011 12:01:34 +0100 Subject: s3:net add option --db --- source3/utils/net.c | 3 ++- source3/utils/net.h | 1 + 2 files changed, 3 insertions(+), 1 deletion(-) diff --git a/source3/utils/net.c b/source3/utils/net.c index 8415e7a810..965cd443f3 100644 --- a/source3/utils/net.c +++ b/source3/utils/net.c @@ -813,7 +813,8 @@ static struct functable net_func[] = { {"force-full-repl", 0, POPT_ARG_NONE, &c->opt_force_full_repl}, {"single-obj-repl", 0, POPT_ARG_NONE, &c->opt_single_obj_repl}, {"clean-old-entries", 0, POPT_ARG_NONE, &c->opt_clean_old_entries}, - + /* Options for 'net idmap'*/ + {"db", 0, POPT_ARG_STRING, &c->opt_db}, POPT_COMMON_SAMBA { 0, 0, 0, 0} }; diff --git a/source3/utils/net.h b/source3/utils/net.h index d09d9905d7..cefbc4e87b 100644 --- a/source3/utils/net.h +++ b/source3/utils/net.h @@ -73,6 +73,7 @@ struct net_context { int opt_ccache; int opt_single_obj_repl; int opt_clean_old_entries; + const char *opt_db; int opt_have_ip; struct sockaddr_storage opt_dest_ip; -- cgit