[Samba] net rpc rights grant: NT_STATUS_ACCESS_DENIED

Gerald Carter jerry at plainjoe.org
Tue Sep 8 16:33:32 MDT 2009


Hey Adam,

>> 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?

Correct.  It connect over RPC to the Samba host.  I think there
is a 'net sam rights' which will do the same operation without
using RPC.  I.e. just operate on the account policy db.






cheers, jerry
-- 
=====================================================================
http://www.plainjoe.org/
"What man is a man who does not make the world better?"      --Balian

-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 252 bytes
Desc: OpenPGP digital signature
URL: <http://lists.samba.org/pipermail/samba/attachments/20090908/e6ef3947/attachment.pgp>


More information about the samba mailing list