Public bug reported: This may be related to https://bugs.launchpad.net/ubuntu/+source/samba/+bug/1010501 and https://bugs.launchpad.net/ubuntu/lucid/+source/upstart/+bug/494141
After a reboot Samba printers are not visible until smbd is restarted. I've tried adding "and started cups" to /etc/init/smbd.conf but that only seemed to work very intermittently (I'm guessing this caused a race condition). I've also tried adding "and started smbd" to /etc/init/cups.conf but that didn't work at all. The only thing that seems to have worked is the patch in this comment https://bugs.launchpad.net/ubuntu/lucid/+source/upstart/+bug/494141/comments/18 Steps to reproduce 1. Reboot a samba server with printers shared through samba 2. Run "smbclient -L COMPUTER -N" after it comes back up What is expected: Samba printers should be listed under Sharename in the output from the smbclient command above or to Windows clients What happens instead: Printers are not available through samba until smbd is restarted $ sudo testparm -S [sudo] password for nick: Load smb config files from /etc/samba/smb.conf rlimit_max: increasing rlimit_max (4096) to minimum Windows limit (16384) Processing section "[print$]" Processing section "[printers]" Processing section "[Nick]" Processing section "[public]" WARNING: The security=share option is deprecated Loaded services file OK. Server role: ROLE_STANDALONE Press enter to see a dump of your service definitions [global] server string = security = SHARE username map = /etc/samba/smbusers syslog only = Yes log file = /var/log/samba.log announce version = 5.0 name resolve order = hosts wins bcast socket options = TCP_NODELAY IPTOS_LOWDELAY SO_KEEPALIVE SO_RCVBUF=8192 SO_SNDBUF=8192 printcap name = cups idmap config * : backend = tdb [print$] path = /usr/share/cups/drivers/ write list = root create mask = 0664 directory mask = 0775 guest ok = Yes [printers] comment = All Printers path = /var/spool/samba write list = root guest ok = Yes printable = Yes print ok = Yes browseable = No [Nick] path = /media/Share/Users/Nick read only = No create mask = 0644 [public] comment = Public Folder path = /media/Share/Public force user = nobody force group = nogroup read only = No create mask = 0777 directory mask = 0777 guest ok = Yes apt-cache policy samba samba: Installed: 2:3.6.9-1ubuntu1 Candidate: 2:3.6.9-1ubuntu1 Version table: *** 2:3.6.9-1ubuntu1 0 500 http://us.archive.ubuntu.com/ubuntu/ raring/main i386 Packages 100 /var/lib/dpkg/status ** Affects: samba (Ubuntu) Importance: Undecided Status: New -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1182655 Title: Samba printers are missing after reboot until smbd is restarted To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/samba/+bug/1182655/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs