summaryrefslogtreecommitdiff
path: root/source3/utils/net_help.c
diff options
context:
space:
mode:
authorVolker Lendecke <vlendec@samba.org>2003-06-14 17:51:09 +0000
committerVolker Lendecke <vlendec@samba.org>2003-06-14 17:51:09 +0000
commitbd1333ea74f14d01310a4307db5101578ec16ee5 (patch)
treedabb785f574a7b8b320f39b6db7dfc56cda06d88 /source3/utils/net_help.c
parentb85664047c188126e3ba06862198c1acd4f218ac (diff)
downloadsamba-bd1333ea74f14d01310a4307db5101578ec16ee5.tar.gz
samba-bd1333ea74f14d01310a4307db5101578ec16ee5.tar.bz2
samba-bd1333ea74f14d01310a4307db5101578ec16ee5.zip
Add 'net idmap restore'. This restores a broken idmap file
from the output of 'net idmap dump'. 'net idmap dump' now also prints the USER/GROUP HWM. Volker (This used to be commit c0575be936572bb091a77c58361bd3a4fe9549ff)
Diffstat (limited to 'source3/utils/net_help.c')
-rw-r--r--source3/utils/net_help.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/source3/utils/net_help.c b/source3/utils/net_help.c
index 16db55480e..941baf3378 100644
--- a/source3/utils/net_help.c
+++ b/source3/utils/net_help.c
@@ -123,6 +123,9 @@ int net_help_idmap(int argc, const char **argv)
d_printf("net idmap dump filename"\
"\n Dump current id mapping\n");
+ d_printf("net idmap restore"\
+ "\n Restore entries from stdin to current local idmap\n");
+
return -1;
}