summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGregor Beck <gbeck@sernet.de>2011-02-08 12:01:34 +0100
committerMichael Adam <obnox@samba.org>2011-02-09 14:00:34 +0100
commit47f499abf65d1a3d3f82e4a56878d33140d46a68 (patch)
tree9b8e5a0613ec1fb9051ba0430dc2ccba1f8e89e5
parent872d913fa2cf64f37123de69411a0bd6df15d088 (diff)
downloadsamba-47f499abf65d1a3d3f82e4a56878d33140d46a68.tar.gz
samba-47f499abf65d1a3d3f82e4a56878d33140d46a68.tar.bz2
samba-47f499abf65d1a3d3f82e4a56878d33140d46a68.zip
s3:net add option --db
-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;