Bug 2849 - Not Correct Manpage for Command net
Summary: Not Correct Manpage for Command net
Status: RESOLVED INVALID
Alias: None
Product: Samba 3.0
Classification: Unclassified
Component: Docs (show other bugs)
Version: 3.0.14a
Hardware: x86 Linux
: P3 normal
Target Milestone: none
Assignee: Samba Bugzilla Account
QA Contact: Samba Documentation QA Contact~
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2005-07-05 16:06 UTC by Sebastian Krug
Modified: 2005-07-05 16:35 UTC (History)
0 users

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Sebastian Krug 2005-07-05 16:06:22 UTC
Hallo together,

in the Documentation of the Command "net"
are as useradd Command following line

net [<method>] user ADD <name> [password] [-c container] [-F user flags] [misc.
options] [targets]
        Add specified user

but when i try to add a user with the following commandline:
"net user ADD testuser testpass"
The Error Message are 
"User must be specified".
The username are Testuser and the password are testpass.

I don't can find the error in my line.
The documentation didn't say what is the correct way to add user 
with a password that are nown.

I think the misstake are not at my side.
As workaround I using the smbpasswd command with the Option -w

I hope that this is 

My System are a Debian/Testing without  ADS or Kerberos
Comment 1 John H Terpstra (mail address dead( 2005-07-05 16:35:36 UTC
(In reply to comment #0)
> Hallo together,
> 
> in the Documentation of the Command "net"
> are as useradd Command following line
> 
> net [<method>] user ADD <name> [password] [-c container] [-F user flags] [misc.
> options] [targets]
>         Add specified user
> 
> but when i try to add a user with the following commandline:
> "net user ADD testuser testpass"
> The Error Message are 
> "User must be specified".
> The username are Testuser and the password are testpass.
> 
> I don't can find the error in my line.
> The documentation didn't say what is the correct way to add user 
> with a password that are nown.
> 
> I think the misstake are not at my side.
> As workaround I using the smbpasswd command with the Option -w
> 
> I hope that this is 
> 
> My System are a Debian/Testing without  ADS or Kerberos

Suggest you check section 12.4.1 "Adding User Accounts" in the book, "The
Official Samba-3 HOWTO and Reference Guide, Second Edition". This book is due to
go to the printers on July 6, 2005. You can obtain a PDF of the book from:

https://www.samba.org/samba/docs/Samba3-HOWTO.pdf

If there remains any further lack of clarity please let me know.

Cheers,
John T.