I'm using CUPS 1.1.17 with Samba 3.0.20. After I added a printer using the CUPS GUI, if samba does not get restarted, I will not be able to see the newly added printer in the 'enumprinters' call. Enclosed is the samba logs (with log level set to 10) and the enumprinters call before and after the printer is added. I also enclosed the CUPS printcap and printers.conf file.
Created attachment 1783 [details] samba log
Created attachment 1784 [details] samba log 2
Created attachment 1785 [details] CUPS printers.conf
Created attachment 1786 [details] CUPS printcap
Created attachment 1787 [details] enumprinters output
Created attachment 1788 [details] enumdrivers output2
Refer to the 'printcap cache time' parameter in smb.conf. Also note that a manual sighup will for an immediate reload of the printer list. If neither suggestion addresses, the problem then please reopen.
CUPS 1.1.x does _not_ provide any means to notify an application about a change of the configured printers. That was the reason we had to implement this polling feature Jerry referred to by the 'printcap cache time' parameter. At the moment we use 0 which disables the polling at all. Jerry: This might be a default we should change in future releases. We're using it set to 750 in the default smb.conf for several Samba releases with SuSE Linux and had no problem at all. In contrast to this we have again and again this 'printer do not appear' complains from customers. I must correct me: We _has_ this complains before the feature was introduced and our default 750 seconds used.
Lars, we've set that default for a while now.