summaryrefslogtreecommitdiff
path: root/source3/utils/net_help.c
diff options
context:
space:
mode:
authorSimo Sorce <idra@samba.org>2006-05-16 17:40:28 +0000
committerGerald (Jerry) Carter <jerry@samba.org>2007-10-10 11:17:05 -0500
commit5e8221d9091320414bd168f8166e189c50f95a87 (patch)
treee659ae9b51f5b51d7ffb971711dd1a9283024776 /source3/utils/net_help.c
parent5255388e958573feb9121bd5ed934739a1f43306 (diff)
downloadsamba-5e8221d9091320414bd168f8166e189c50f95a87.tar.gz
samba-5e8221d9091320414bd168f8166e189c50f95a87.tar.bz2
samba-5e8221d9091320414bd168f8166e189c50f95a87.zip
r15646: Implement an setdomainsid command as well
(This used to be commit 51df47c772f8bdd5a2c3a1e9814e625406e79b5f)
Diffstat (limited to 'source3/utils/net_help.c')
-rw-r--r--source3/utils/net_help.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/source3/utils/net_help.c b/source3/utils/net_help.c
index 79062345ab..40892ab091 100644
--- a/source3/utils/net_help.c
+++ b/source3/utils/net_help.c
@@ -61,7 +61,7 @@ static int help_usage(int argc, const char **argv)
"Valid functions are:\n"\
" RPC RAP ADS FILE SHARE SESSION SERVER DOMAIN PRINTQ USER GROUP VALIDATE\n"\
" GROUPMEMBER ADMIN SERVICE PASSWORD TIME LOOKUP GETLOCALSID SETLOCALSID\n"\
-" CHANGESCRETPW LOOKUP SAM\n");
+" SETDOMAINSID CHANGESCRETPW LOOKUP SAM\n");
return -1;
}
@@ -230,6 +230,7 @@ static int net_usage(int argc, const char **argv)
" net cache\t\tto operate on cache tdb file\n"\
" net getlocalsid [NAME]\tto get the SID for local name\n"\
" net setlocalsid SID\tto set the local domain SID\n"\
+ " net setdomainsid SID\tto set the domain SID on member servers\n"\
" net changesecretpw\tto change the machine password in the local secrets database only\n"\
" \tthis requires the -f flag as a safety barrier\n"\
" net status\t\tShow server status\n"\