The Samba-Bugzilla – Bug 3843
[patch] USER ADD syntax error in net man page
Last modified: 2006-06-19 04:54:06 UTC
The net man page shows an example where the password for a new user can be specified on the command line:
[RPC|ADS] USER ADD name [password] [-F user flags] [-C comment]
In fact the net command does not support specifying the password in this way - if you try, it refuses to work and prints the syntax for USER commands (which doesn't show the password option).
Created attachment 1964 [details]
Patch for the manpage source
This patch removes '[password]' from the USER ADD example in the net man page.
If you don't mind I'll fix it the other way round and add the ability to set passwords for "net rpc user add" (as it is already in "net ads user add").
Fixed with revision 16344. Please reopen if it doesn't work for you.