Bug 8553 - master: samba does not list cups printers
Summary: master: samba does not list cups printers
Alias: None
Product: Samba 3.6
Classification: Unclassified
Component: Printing (show other bugs)
Version: unspecified
Hardware: All All
: P5 normal
Target Milestone: ---
Assignee: printing-maintainers
QA Contact: Samba QA Contact
Depends on:
Reported: 2011-10-28 10:52 UTC by Björn Baumbach
Modified: 2011-11-01 13:14 UTC (History)
2 users (show)

See Also:


Note You need to log in before you can comment on or make changes to this bug.
Description Björn Baumbach 2011-10-28 10:52:15 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
Comment 1 Björn Baumbach 2011-10-28 10:59:26 UTC

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).
Comment 2 Björn Baumbach 2011-10-30 19:56:36 UTC
MSG_PRINTER_PCAP does not trigger smb_pcap_updated() (smbd/server.c:82)
Comment 3 Andreas Schneider 2011-10-31 07:43:56 UTC
I think ad3734194991f55492b92a6330f055c10e6fd1e1 should work. Could you try this version and if it works start a 'git bisect'.
Comment 4 Stefan Metzmacher 2011-10-31 13:30:38 UTC
Ok, the problem was that the parent smbd didn't ask for FLAG_MSG_PRINT_GENERAL
Comment 5 Stefan Metzmacher 2011-11-01 13:14:52 UTC
Fixed with 63c7107c4affa3992e9c05647b81ecbfe87be01e in master