summaryrefslogtreecommitdiff
path: root/source3
diff options
context:
space:
mode:
Diffstat (limited to 'source3')
-rw-r--r--source3/utils/net.c3
-rw-r--r--source3/utils/net.h1
2 files changed, 3 insertions, 1 deletions
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;