Hi, I want to push drivers with samba.
rpcclient localhost -U admin -c 'adddriver “Windows NT x86” “my-printer:pscript5.dll:my-printer.ppd:ps5ui.dll:pscript.hlp:NULL:RAW:pscript.ntf”'
It seems admin has no rights to doing this what is discribed in:
Using the “net rpc rights” Utility part of https://www.samba.org/samba/docs/man/Samba-HOWTO-Collection/rights.html
but i can’t grant this to admin, I issue command:
net -U admin -S localhost rpc rights grant ‘admin’ SePrintOperatorPrivilege
Failed to grant privileges for admin (NT_STATUS_ACCESS_DENIED)
When using root as user I get:
Bad SMB2 signature for message
Could not connect to server localhost
Connection failed: NT_STATUS_ACCESS_DENIED
Any advice appreciated. Cheers.