I looked at the code. If I do something like net user add davidsha it then
prompts me for a password. If I type davidsha's nt domain user password, it
fails with:
[2002/02/11 11:47:13, 0] utils/net.c:connect_to_ipc(128)
Cannot connect to server. Error was NT_STATUS_LOGON_FAILURE
The username or password was not correct.
If I try net rpc user add davidsha -U administrator and type its password,
it gives the same error. I am still not sure how to use this command.
David
-----Original Message-----
From: Andrew Bartlett [mailto:abartlet@pcug.org.au]
Sent: Sunday, February 10, 2002 6:03 AM
To: David Edward Shapiro
Cc: 'samba@lists.samba.org'
Subject: Re: [Samba] net rpc user
David Edward Shapiro wrote:>
> Can we add users with net rpc yet with the lastest and greatest version
> downloadable with cvs for samba 3.0x? If you can, can somebody please
share> an example of how to do it?
net rpc user add
Read source/utils/net_rpc.c for more details - I havn't done the doco
yet :-(.
Andrew Bartlett
--
Andrew Bartlett abartlet@pcug.org.au
Manager, Authentication Subsystems, Samba Team abartlet@samba.org
Student Network Administrator, Hawker College abartlet@hawkerc.net
samba.org build.samba.org hawkerc.net