[Samba] net rpc rights grant: NT_STATUS_ACCESS_DENIED

Adam Nielsen adam.nielsen at uq.edu.au
Tue Sep 8 16:20:27 MDT 2009


> Use 'net sam' to add the user in question to the BUILTIN\Administrators
> group on your Samba host.
>>
>> # /usr/local/samba/bin/net rpc rights grant testpc1
>> SePrintOperatorPrivilege -U testpc1
>> Failed to grant privileges for testpc1 (NT_STATUS_ACCESS_DENIED)

Oh, so does 'net rpc' in this case connect to the local machine?  i.e.
it has nothing to do with Active Directory?

I was under the impression that it modified the permissions on the
Active Directory object, not what the local Samba instance would allow
or deny - my apologies!

Cheers,
Adam.



More information about the samba mailing list