This is driving me crazy.
After a reboot, samba automatically detects all of my cups printers such that they are correctly listed with the command.
Of course, they also show up if I browse them with a windows machine.
rpcclient -c enumprinters localhost
However, if for whatever reason, I restart samba, the result of the above command becomes
And windows machines can no longer see any of the printers. I am of course entering the same valid samba password that got me the list of printers before restarting samba.
No printers returned.
I also notice that even if samba is seeing my printers, adding a new one to cups also requires a full reboot before samba can see it.
I've tried restarting both cups and samba to no avail. I can't figure out what magic is happening when I reboot. Does anyone have any ideas or has anyone else noticed this?