Public bug reported:

Binary package hint: samba

Smbd daemon starts before cups daemon and therefore fails to see and share 
printer.
If you manually restart smbd, printers are seen.

Samba version: 2:3.4.7~dfsg-1ubuntu3

Without doing nothing after the system boot
i...@hjemme:~$ smbclient -L /192.168.1.2
Anonymous login successful
Domain=[STRINGA] OS=[Unix] Server=[Samba 3.4.7]

        Sharename       Type      Comment
        ---------       ----      -------
        print$          Disk      Printer Drivers
        IPC$            IPC       IPC Service (hjemme server (Samba, Ubuntu))


After restarting smbd
i...@hjemme:~$ smbclient -L /192.168.1.2
Domain=[STRINGA] OS=[Unix] Server=[Samba 3.4.7]

        Sharename       Type      Comment
        ---------       ----      -------
        print$          Disk      Printer Drivers
        IPC$            IPC       IPC Service (hjemme server (Samba, Ubuntu))
        LaserJet-1100   Printer   Hewlett-Packard HP LaserJet 1100


Here you can see that the smbd is started before cups
i...@hjemme:~$ ps aux | grep smb
root       598  0.0  0.0  15304   312 ?        Ss   15:02   0:00 smbd -F
root       667  0.0  0.0  15304    96 ?        S    15:02   0:00 smbd -F


i...@hjemme:~$ ps aux | grep cups
root       832  0.0  0.1   6824   568 ?        Ss   15:02   0:00 
/usr/sbin/cupsd -C /etc/cups/cupsd.conf

** Affects: samba (Ubuntu)
     Importance: Undecided
         Status: New

-- 
Samba fails to share printer in 10.04 
https://bugs.launchpad.net/bugs/587548
You received this bug notification because you are a member of Ubuntu
Server Team, which is subscribed to samba in ubuntu.

-- 
Ubuntu-server-bugs mailing list
Ubuntu-server-bugs@lists.ubuntu.com
Modify settings or unsubscribe at: 
https://lists.ubuntu.com/mailman/listinfo/ubuntu-server-bugs

Reply via email to