r22729: add help text for osver and osname options to 'net ads join' (patch from...
authorGerald Carter <jerry@samba.org>
Sun, 6 May 2007 22:18:44 +0000 (22:18 +0000)
committerGerald (Jerry) Carter <jerry@samba.org>
Wed, 10 Oct 2007 17:21:51 +0000 (12:21 -0500)
source/utils/net_ads.c

index 030c5762f3ec2b059a0935414c73f6f1b61d1eed..385d9c1aa51209b3cab4cb4eb4b944aeba655e58 100644 (file)
@@ -1450,7 +1450,12 @@ static int net_ads_join_usage(int argc, const char **argv)
        d_printf("                      The OU string read from top to bottom without RDNs and delimited by a '/'.\n");
        d_printf("                      E.g. \"createcomputer=Computers/Servers/Unix\"\n");
        d_printf("                      NB: A backslash '\\' is used as escape at multiple levels and may\n");
-       d_printf("                          need to be doubled or even quadrupled.  It is not used as a separator");
+       d_printf("                          need to be doubled or even quadrupled.  It is not used as a separator.\n");
+       d_printf("   osName=string      Set the operatingSystem attribute during the join.\n");
+       d_printf("   osVer=string       Set the operatingSystemVersion attribute during the join.\n");
+       d_printf("                      NB: osName and osVer must be specified together for either to take effect.\n");
+       d_printf("                          Also, the operatingSystemService attribute is also set when along with\n");
+       d_printf("                          the two other attributes.\n");
 
        return -1;
 }