Comment 52 for bug 494141

Revision history for this message
Lucio M Nicolosi (lmnicolosi) wrote :

Although the default smb.conf parameter "printing" equals to "cups" (printing = cups) unless the parameter "printcap name" is set (printcap name = cups) the printers do not load in the periodical "samba reload" process referred at #30, thus requiring a manual "sudo service smbd restart".

Since I try to keep my smb.conf as lean as possible, trying to keep the defaults, I didn't notice this up to some minutes ago when checked the smb.conf file at #42. My fault, sorry, feel really ashamed, but if one day someone arrives here looking for a solution for this bug while riding a Maverick or Natty my mistake can be useful.

So Martin Pitt was right, in Maverick and (by the way) Natty, although CUPS isn't available at samba startup, and this is a nuisance, it is automatically reloaded according to the "printcap cache time" parameter which defaults to 750, (too much for me, reduced to 300 or five minutes "printcap cache time = 300") providing you set "printcap name = cups" which, at the original smb.conf, looks like default but isn't...