Samba: CUPS printers are not available at startup
NoOp
glgxg at sbcglobal.net
Wed Apr 20 23:56:06 UTC 2011
On 04/15/2011 12:09 AM, Lucio M Nicolosi wrote:
...
> It is weird.
>
> Reinstalled Natty 64 with a clean /home, which I guess shouldn't make
> any difference since cups and samba modules are expected to load
> before login (I guess smbd doesn't). Installed only the Nvidia driver
> and Samba and tested it with a different workgroup name and then with
> the common workgroup (MSHOME). Reduced the number of Samba servers to
> the absolute minimum (2 - one for printers - Natty - and another for
> files). the only non default parameters are: printcap cache time = 75
> and printcap name = cups.
>
> Smbd should refresh every 75 seconds, but it doesn't. If I manually
> reload: sudo service restart smbd, printers (2 USB) are immediately
> loaded and available for the other stations.
>
> Before:
>
> $ smbclient -L lm-###
> Enter lm's password:
> Anonymous login successful
> Domain=[MSHOME] OS=[Unix] Server=[Samba 3.5.8]
>
> Sharename Type Comment
> --------- ---- -------
> print$ Disk Printer Drivers
> IPC$ IPC IPC Service (lm-xfx server (Samba, Ubuntu))
> Anonymous login successful
> Domain=[MSHOME] OS=[Unix] Server=[Samba 3.5.8]
>
> Server Comment
> --------- -------
> LM-### lm-xfx server (Samba, Ubuntu)
> STUDIO
> UBUNTU ubuntu server (Samba, Ubuntu)
>
> Workgroup Master
> --------- -------
> MSHOME UBUNTU
>
> after sudo service restart smbd
>
> ~$ sudo service smbd restart
> [sudo] password for lm:
> smbd start/running, process 2041
>
> $ smbclient -L lm-###
> Enter lm's password:
> Anonymous login successful
> Domain=[MSHOME] OS=[Unix] Server=[Samba 3.5.8]
>
> Sharename Type Comment
> --------- ---- -------
> print$ Disk Printer Drivers
> IPC$ IPC IPC Service (lm-xfx server (Samba, Ubuntu))
> Stylus-CX5600 Printer EPSON Stylus CX5600
> HL-1440-series Printer Brother HL-1440 series
> Anonymous login successful
> Domain=[MSHOME] OS=[Unix] Server=[Samba 3.5.8]
>
> Server Comment
> --------- -------
> LM-### lm-xfx server (Samba, Ubuntu)
> STUDIO
> UBUNTU ubuntu server (Samba, Ubuntu)
>
> Workgroup Master
> --------- -------
> MSHOME UBUNTU
>
>
> It's a bit late over here and I need some sleep. Perhaps tomorrow
> brings me an insight.
>
> As always, thanks for your help.
>
> L.
>
You get this sorted out? Sorry I didn't do anything further as I was
away/sailing last weekend & forgot to respond.
G.
More information about the ubuntu-users
mailing list