[Samba] samba 3.6.3 server - windows printer driver dialog opening delays

Andreas Oster aoster at novanetwork.de
Wed Aug 15 00:47:17 MDT 2012


Hi all,

since upgrading Samba from a 3.5.X to 3.6.X I am facing some problems
with shared printers. Opening a printer driver dialog, to change some
settings for a printer from a Win XP machine, takes very long. This is
the case for all shared printers.

I am using Ubuntu Precise (12.04)

In the logs sometimes these error messages appear:

[2012/08/15 08:17:49.862966,  0]
rpc_server/spoolss/srv_spoolss_nt.c:1748(_spoolss_OpenPrinterEx)
  _spoolss_OpenPrinterEx: Cannot open a printer handle for printer
\\NOVALX09
[2012/08/15 08:23:24.888305,  0]
libads/kerberos.c:941(create_local_private_krb5_conf_for_domain)
  create_local_private_krb5_conf_for_domain: rename of
/var/run/samba/smb_tmp_krb5.Hdb7um to /var/run/samba/smb_krb5/k
rb5.conf.NOVA failed. Errno Permission denied

NOVALX09 is actually not a printer but the server hosting the print queues.

Printing itself does work without any problems.

here the relevant stuff from my smb.conf:

[global]
   load printers = yes
   printing = cups
   printcap name = cups

[printers]
   comment = All Printers
   browseable = no
   path = /var/spool/samba
   printable = yes
   print ok = Yes
   guest ok = yes

[print$]
   comment = Printer Drivers
   path = /var/lib/samba/printers
   browseable = yes
   read only = yes
   guest ok = no
   write list = +"NOVA\Domain-Admins"


Does anybody know what could be the cause of this, and how to resolve it ?

Thank you for your kind help.

best regards

Andreas



More information about the samba mailing list