[Samba] Setting SePrintOperatorPrivilege

Rowland Penny rpenny at samba.org
Fri Aug 25 13:19:04 UTC 2017


On Fri, 25 Aug 2017 14:36:46 +0200
Kjetil Fleten via samba <samba at lists.samba.org> wrote:

> I'm trying to set SePrintOperatorPrivilege in Samba 4.6.7, in order
> to upload windows drivers from a Windows machine.
> 
> The command I use is:
> 
> /sudo net rpc rights grant "WORKGROUP.LOCAL\roedhaette" 
> SePrintOperatorPrivilege -U "PRINTSERVER\roedhaette"/
> 
> The message I get is:
> 
> /Bad SMB2 signature for message//
> //[0000] 00 00 00 00 00 00 00 00   00 00 00 00 00 00 00 00 ........ 
> ........//
> //[0000] 55 BD 85 36 61 94 35 87   C7 3D 01 63 12 66 85 FF U..6a.5. 
> .=.c.f..//
> //Could not connect to server 127.0.0.1//
> //Connection failed: NT_STATUS_ACCESS_DENIED/
> 

It is trying to connect to '127.0.0.1' and being denied, can you post
the contents of /etc/hosts and /etc/hostname.

It is also NOT a good idea to have a workgroup name with a dot in it.

Rowland



More information about the samba mailing list