Bug 3843 - [patch] USER ADD syntax error in net man page
Summary: [patch] USER ADD syntax error in net man page
Alias: None
Product: Samba 3.0
Classification: Unclassified
Component: Docs (show other bugs)
Version: 3.0.22
Hardware: All Linux
: P3 trivial
Target Milestone: none
Assignee: Samba Bugzilla Account
QA Contact: Samba Documentation QA Contact~
Depends on:
Reported: 2006-06-16 10:27 UTC by David Johnson
Modified: 2006-06-19 04:54 UTC (History)
0 users

See Also:

Patch for the manpage source (352 bytes, patch)
2006-06-16 10:30 UTC, David Johnson
no flags Details

Note You need to log in before you can comment on or make changes to this bug.
Description David Johnson 2006-06-16 10:27:26 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).
Comment 1 David Johnson 2006-06-16 10:30:24 UTC
Created attachment 1964 [details]
Patch for the manpage source

This patch removes '[password]' from the USER ADD example in the net man page.
Comment 2 Guenther Deschner 2006-06-19 04:52:03 UTC
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").
Comment 3 Guenther Deschner 2006-06-19 04:54:06 UTC
Fixed with revision 16344. Please reopen if it doesn't work for you.