The Samba-Bugzilla – Bug 8553
master: samba does not list cups printers
Last modified: 2011-11-01 13:14:52 UTC
smbd does not load present cups printers.
Printers especially configured in smb.conf are working fine.
smbclient -L does only list printers in smb.conf
After a "smbcontrol smbd reload-config" all my cups printers are listed.
If I kill the smbd and start it again the printers list is empty again (except the one configured in the smb.conf).
MSG_PRINTER_PCAP does not trigger smb_pcap_updated() (smbd/server.c:82)
I think ad3734194991f55492b92a6330f055c10e6fd1e1 should work. Could you try this version and if it works start a 'git bisect'.
Ok, the problem was that the parent smbd didn't ask for FLAG_MSG_PRINT_GENERAL
Fixed with 63c7107c4affa3992e9c05647b81ecbfe87be01e in master