[Samba] spoolss_io_r_setprinter/WERR_ACCESS_DENIED on 2.2.7a

Phil Burrow philburrow at blueyonder.co.uk
Mon Jan 27 13:57:01 GMT 2003


I am unable to 'Apply' new drivers to any printers shared on my Samba 2.2.7a
machine from a Windows XP machine. I log in as root, the drivers upload to
print$ without a hitch. But when I click 'Apply' or 'OK' to close the
printer properties dialog box, I get 'Cannot set printer properties. Access
denied'.

The printer is a Hewlett Packard LaserJet 4100TN, the driver is the PCL 6
one from the installer CD that shipped with the printer.

The root user is a printer admin and in the write list for the print$ share.
Here's some level 10:

[2003/01/27 12:20:57, 10] printing/nt_printing.c:get_a_printer(3306)
  get_a_printer: [lj4100tn-2-bl] level 2 returning WERR_OK
  Converting info_2 struct
[2003/01/27 12:20:57, 7]
rpc_parse/parse_spoolss.c:uni_2_asc_printer_info_2(5346)
  Converting from UNICODE to ASCII
  start converting
[2003/01/27 12:20:57, 5] rpc_server/srv_spoolss_nt.c:check_printer_ok(4868)
  check_printer_ok: servername=\\blak_srv printername=\\blak_srv\HP LaserJet
4100 PCL 6 sharename=lj4100tn-2-bl portname=Samba Printer Port drivername=HP
LaserJet 4100 PCL 6 comment=HP LaserJet 4100TN, 2nd Floor location=
[2003/01/27 12:20:57, 5] rpc_parse/parse_prs.c:prs_debug(60)
  000000 spoolss_io_r_setprinter
[2003/01/27 12:20:57, 5] rpc_parse/parse_prs.c:prs_werror(647)
      0000 status: WERR_ACCESS_DENIED
[2003/01/27 12:20:57, 5] rpc_server/srv_pipe.c:api_rpcTNP(1218)
  api_rpcTNP: called api_spoolss_rpc successfully





More information about the samba mailing list