Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations strongm on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

net user disables account?

Status
Not open for further replies.

alphaOutlaw

Programmer
Aug 17, 2006
2
US
I notice when issuing the command "net rpc user testuser -S ip_address -U administrator%password" that the testuser gets added to the remote machine (Win 2k3) sucessfully, however the account is disabled.

After adding the user remotely it requires that the administrator log into the remote machine "ip_address" to enable the newly created account.

Is there a way to add a user to a remote windows machine through samba without the account being automatically disabled?

I noticed it is possible to add the account through an at command using cmdat from Samba-TNG, but I need SMB siging so it looks like it rules out Samba-TNG.
 
I noticed that I did not give the command correctly in my previous post...

The command should be net rpc user add testuser -S ip_address -U administrator%password

Thanks in advance.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top