Re: Samba sharing with Windows clients
From: Tim (tim_at_mail.localhost.invalid)
Date: 03/11/04
- Next message: Richard Santink: "How do I.... Login to another host from my host?"
- Previous message: Matt: "How do I make yum read RPMs from my NFS server?"
- In reply to: Mad Penguin: "Re: Samba sharing with Windows clients"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Date: Thu, 11 Mar 2004 22:43:41 +1030
On Thu, 04 Mar 2004 16:48:00 -0800, Mad Penguin wrote:
>> Has anyone here had any issues with the default Red Hat 9/Samba
>> installation? I have used the same smb.conf file from other working
>> machines and client still cant connect. It gives an error that basically
>> states:
>>
>> "Account not authorized to login from this station.".
>>
>>
>>
>> This happens on every Windows client PC. I have permed everything the way it
>> needs to be on the filesystem and even tried setting up Samba to use share
>> level access.. and giving full control to everyone for that share. It
>> still won't work :(
Mad Penguin <admin@madpenguindot.org> posted:
> Ok so I have an update. This behavior only occurs when trying to access
> the box using it's netbios or dns name. If you use the IP address, it
> works fine. Keep in mind this is a default installation of Red Hat, so I
> am thinking something in the network settings is screwy somehow (most
> likely in DNS). Everything is setup properly as far as I can tell... it is
> pulling DNS, GW, and other settings from the DHCP server properly so I am
> at a loss. Anyone seen this before?
Something to do with machine names versus hostnames? SMB uses (as far as I
know) just the machinenames (e.g. out of testone.localdomain it uses
testone). The /etc/samba/lmhosts file can be used to hold static machine
names, with the /etc/hosts file used for static (complete) host addresses,
but for dynamic addressing, you'd probably want your server to prepend the
local domain name onto the end of on simple hostname lookups (e.g.
requesting the ip for testone, by the software, will end up with the
network requesting the ip for testone.localdomain, assuming that the local
domain name was "localdomain").
For my system, that means putting the line: search localdomain
into my /etc/resolv.conf file. Read the resolv.conf man file for more
details.
-- If you insist on e-mailing me, use the reply-to address (it's real but temporary). But please reply to the group, like you're supposed to. This message was sent without a virus, please delete some files yourself.
- Next message: Richard Santink: "How do I.... Login to another host from my host?"
- Previous message: Matt: "How do I make yum read RPMs from my NFS server?"
- In reply to: Mad Penguin: "Re: Samba sharing with Windows clients"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Relevant Pages
|