[CVALE] Samba and XP
Ian Sterling
xyverz at gmail.com
Thu Oct 26 07:23:37 PDT 2006
Dan,
One thing you have going for you is that you do specify a log file to
be created. This file is created per host, so if you look in there
after having a failure from one of the XP boxes, they'll show up by
hostname.
You should also specify the netbios name for the linux box under the
[global] section:
netbios name = servername
And one last question to ask you is: have you enabled an account on
the samba server to connect to? `smbpasswd -a username` is the
command to add a user to the samba server db. (although I guess
Matt's suggestion may work too.)
Just a thought.
--Ian...
On 10/24/06, dan at imabiz.com <dan at imabiz.com> wrote:
>
> >-----Original Message-----
> >From: cvale-bounces at lists.fire2wire.com
> [mailto:cvale-bounces at lists.fire2wire.com]On >Behalf Of Dennis Baker
> >Sent: Saturday, October 21, 2006 5:45 PM
> >To: cvale at cvale.org
> >Subject: Re: [CVALE] Samba and XP
>
> >How about you post your smb.conf file? Then we can get an idea of what you
> are doing.
>
>
> Well, some progress in the meanwhile. I can now see the Linux box from
> multiple Windows boxes; the Linux shares started coming up as
> \\LOCALHOST\sharename. Attempting to connect from XP to that form resulted
> in various errors, including something about "duplicate" names. That gave
> me the clue to change the hostname (temporarily); BOTH forms of server name
> then appeared, but I could successfully attach to the new hostname.
>
> I then discovered something cut out the "netbios name" setting; resetting
> THAT changes the server in XP's Network Neighborhood to \\NetbiosName, and I
> can also attach that way.
>
> Which form seems preferable?
>
> Seems like there might be repercussions if I permanently change the hostname
> (but I'm unclear on which layers are doing what); would "localhost" still
> exist on the Linux box, for any programs already configured for it? [I'm
> running Apache there, for MythWeb (from which I can now stream recorded
> video).]
>
> TIA for any thoughts. I'm at least connecting, though not entirely sure
> why.
>
> -- Dan L.
>
>
> I had initially been configuring Samba via a GUI admin program in KDE (FC4).
> I've cut down smb.conf to the following:
>
> [global]
> workgroup = IMA
> server string = Samba Server
> printcap name = /etc/printcap
> cups options = raw
> log file = /var/log/samba/%m.log
> max log size = 50
> security = user
>
> # Most people will find that this option gives better performance.
> socket options = TCP_NODELAY SO_SNDBUF=8192 SO_RCVBUF=8192
> username map = /etc/samba/smbusers
> preferred master = yes
>
> [homes]
> comment = Home Directories
> writeable = yes
> case sensitive = no
> strict locking = no
>
> [pc]
> comment = Windows files
> path = /pc
> writeable = yes
> guest ok = yes
>
> [video]
> path = /video/recordings
> case sensitive = no
> writeable = yes
> comment = MythTV recordings
> strict locking = no
> admin users = dan
> guest account = dan
> username = dan
> guest ok = yes
>
>
>
> _______________________________________________
> cvale mailing list
> cvale at lists.fire2wire.com
> http://lists.fire2wire.com/mailman/listinfo.cgi/cvale
>
More information about the cvale
mailing list