Bug 2849 - Not Correct Manpage for Command net
Not Correct Manpage for Command net
Status: RESOLVED INVALID
Product: Samba 3.0
Classification: Unclassified
Component: Docs
3.0.14a
x86 Linux
: P3 normal
: none
Assigned To: Samba Bugzilla Account
Samba Documentation QA Contact~
:
Depends on:
Blocks:
  Show dependency treegraph
 
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 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.