[Samba] Re: Using SeMachineAccountPrivilege returns NT_STATUS_NO_SUCH_PRIVILEGE

Michael Lueck mlueck at lueckdatasystems.com
Mon Feb 14 17:56:15 GMT 2005

Michael Lueck wrote:

> Michael Lueck wrote:
>> When I issue 'net rpc rights grant auserid SeMachineAccountPrivilege' 

> OK, trick seems to be DOMAIN\auserid vs expecting it to assume the local 
> domain name. No more error message.
> However when I 'net rpc rights list DOMAIN\auserid' and enter my 
> password, no error is given and no rights are shown. hhhhmmmm????

A bit more about this problem. I wrapped the net command in a Rexx script so I could capture the exit code from net. The grant invocation returns with an exit of 1 though it does not complain of an 
error. The list accounts invocation correctly exits with a 0 code.

Guess I best crank up the Samba log level unless anyone has a better suggestion / place to look.


Michael Lueck
Lueck Data Systems

Remove the upper case letters NOSPAM to contact me directly.

More information about the samba mailing list