mixture between printers from /etc/printcap and printers defined in smb.conf (with own printcommand); printers from printcap work others not! see output (there should be the printer [PDF-Screen]): jukebox:/etc/samba # smbclient -L localhost Password: Domain=[EBEWEAT] OS=[Unix] Server=[Samba 3.0.9-SUSE] Sharename Type Comment --------- ---- ------- dr-dv01 Printer OPTRA T 614 EDV-Lager IPC$ IPC IPC Service (Samba 3.0.9-SUSE) ADMIN$ IPC IPC Service (Samba 3.0.9-SUSE) Domain=[EBEWEAT] OS=[Unix] Server=[Samba 3.0.9-SUSE] Server Comment --------- ------- /etc/samba/smb.conf: -------------------- [global] # debuglevel 9 workgroup = EBEWEAT netbiosname = jukebox password server = * security = DOMAIN encrypt passwords = Yes map to guest = Bad User password server = * name resolve order = lmhosts wins bcast host printing = LPRNG printcap name = /etc/printcap # load printers = Yes time server = Yes socket options = TCP_NODELAY SO_KEEPALIVE IPTOS_LOWDELAY os level = 100 preferred master = True wins support = Yes kernel oplocks = No [wolfgang] path = /srv/ftp/pub/mp3 browseable = no [printers] comment = All Printers path = /tmp create mask = 0700 printable = Yes browseable =Yes [PDF-screen] comment = PDF-Writer (screen optimized) path = /tmp/pdf read only = No create mask = 0777 guest ok = Yes printable = Yes print command = /usr/local/bin/pdf-sender %s %u screen
ok. The problem is that remove_stale_printers() is removing all printers that aren't validated by pcap_printername_ok(). Our bug. Working on a fix now.
Created attachment 820 [details] prevent remove_stale_printers() from removing statically defined printer shares
ok. This patch will fix the bug. Checked in for 3.0.10pre1
*** Bug 2079 has been marked as a duplicate of this bug. ***
sorry for the same, cleaning up the database to prevent unecessary reopens of bugs.