Fixing net help info.
authorJohn H Terpstra <jht@samba.org>
Thu, 19 Jun 2008 21:11:31 +0000 (16:11 -0500)
committerKarolin Seeger <kseeger@samba.org>
Fri, 20 Jun 2008 21:01:44 +0000 (23:01 +0200)
(cherry picked from commit f62909d2b457f3494c9536c994a9209f8cc0c331)

source/utils/net_help.c

index 908be0512a1f2687359140d572a45b173f8c5b1a..c4accf01162972149824b99c8a35b28b8421abd5 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,8 +228,9 @@ 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 setlocalsid SID\tto set the local domain SID\n"\
+                "  net getlocalsid [NAME]\tto get the SID for local machine name\n"\
+                "  net setlocalsid SID\tto set the local machine 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"\