alpha outlaw
2006-Aug-16 22:34 UTC
[Samba] net user add disables remote account automatically?
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. Thanks in advance for any help or ideas offered.
alpha outlaw
2006-Aug-17 21:39 UTC
[Samba] Re: net user add disables remote account automatically?
On 8/16/06, alpha outlaw <alpha.outlaw@gmail.com> wrote:> > 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. > > Thanks in advance for any help or ideas offered. >After reading my previous post, I noticed I forgot to insert the "add" in the command for my posting to the list. The full command should be: "net rpc user add testuser -S ip_address -U administrator%password" I guess it is a problem with the access mask bits during the creation of a user... Any light shed on the probelm would be greatly appreciated.
Seemingly Similar Threads
- any plans on getting psexec / cmdat equivalent to Samba?
- is there a possibility to start a programm from samba on a windows machine?]
- is there a possibility to start a programm from samba on a windows machine?
- any plans on getting psexec / cmdat equivalent to Samba?
- cmdat utility...