Fixing net help info.
authorJohn H Terpstra <jht@samba.org>
Thu, 19 Jun 2008 21:11:10 +0000 (16:11 -0500)
committerJohn H Terpstra <jht@samba.org>
Thu, 19 Jun 2008 21:11:10 +0000 (16:11 -0500)
source/utils/net_help.c

index 369fc095f2183fbf20e67ee41f7ee1082284de69..69023f562ca188a4ddb494cd48f8c0e65a504cb0 100644 (file)
@@ -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"\
-"  SETDOMAINSID CHANGESCRETPW LOOKUP SAM\n");
+"  GETDOMAINSID SETDOMAINSID CHANGESCRETPW LOOKUP SAM\n");
        return -1;
 }
 
@@ -228,14 +228,15 @@ static int net_usage(int argc, const char **argv)
                 "  net groupmap\t\tto manage group mappings\n"\
                 "  net join\t\tto join a domain\n"\
                 "  net cache\t\tto operate on cache tdb file\n"\
-                "  net getlocalsid [NAME]\tto get the SID for local name\n"\
+                "  net getlocalsid [NAME]\tto get the SID for local machine name\n"\
                 "  net setlocalsid SID\tto set the local domain SID\n"\
+                "  net getdomainsid the machine SID and the domain SID on the local server\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"\
-               "  net usersidlist\tto get a list of all users with their SIDs\n"
-               "  net usershare\t\tto add, delete and list locally user-modifiable shares\n"
+                "  net usersidlist\tto get a list of all users with their SIDs\n"
+                "  net usershare\t\tto add, delete and list locally user-modifiable shares\n"
                 "\n"\
                 "  net ads <command>\tto run ADS commands\n"\
                 "  net rap <command>\tto run RAP (pre-RPC) commands\n"\