[Samba] [Ubuntu 10.04] Share not visible from XP?

Marcello Romani mromani at ottotecnica.com
Thu Jul 29 00:55:16 MDT 2010

Gilles ha scritto:
> On Wed, 28 Jul 2010 17:44:49 +0200, Nico De Ranter <nico at sonycom.com>
> wrote:
>> I believe testparm will skip any attribute with default values.
> Thanks for the tip. That's not the cause of the issue then :-/
> At this point, I can finally get XP to show shared folders if I first
> try to connect to them blindly through Run > "\\srv\share".
> There were a few things I noticed along the way:
> - "restart smbd" works, but "restart nmbd" doesn't. OTOH,
> "/etc/init.d/smbd restart" works... and "/etc/init.d/nmbd restart" as
> well. Go figure

A samba init script should take care of restarting both services IMHO, 
because they're really supposed to go together. Therefore it's not 
strange that they ported to upstart only the "main" init.d script (the 
one referring to smbd). That's all IMHO, of course.

> - apparently, we must remove package "libpam-smbpass", and install
> "smbfs" and "winbind"

AFAIKT, smbfs is needed only if you want to mount samba shares, i.e. for 
using the linux system as a samba *client*, not server. I'm not 100% 
sure, though.
Regarding winbind, I find it strange that it didn't get installed along 
with the rest of samba...

> - /etc/nsswitch.conf requires adding "wins" to "hosts"
> - I added the following to a share, with no idea if they're really
> needed:
> [share]
> [...]
> available = yes
> public = yes
> writable = yes
> Thank you.

Don't know about "available" param, but public and writable shouldn't 
affect visibility of the server in windows neighborhood.

Marcello Romani

More information about the samba mailing list