Patch: Request correct access right for setprinterdata

Uri Shachar uri.shachar at expand.com
Tue Sep 4 13:36:27 GMT 2007


Hi,

Attached patch for samba_3_2 changes the requested access from 
MAXIMUM_ALLOWED_ACCESS to PRINTER_ALL_ACCESS. Otherwise the client will get 
an access denied when it tries to set a value.

This sets the requested access to be the same as requested in 
net_rpc_printers.c.

Cheers,
          Uri
-------------- next part --------------
A non-text attachment was scrubbed...
Name: cmd_spoolss.c.patch
Type: text/x-diff
Size: 892 bytes
Desc: not available
Url : http://lists.samba.org/archive/samba-technical/attachments/20070904/f3d9d51b/cmd_spoolss.c.bin


More information about the samba-technical mailing list