Re: Samba sharing with Windows clients

From: Tim (tim_at_mail.localhost.invalid)
Date: 03/11/04


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.


Relevant Pages

  • Re: providing internet access
    ... the test client I was using was re-configured so that I can ... the DNS addresses of my DSL provider. ... I hope you can help me correctly configure the proxy settings as I can no ... >> log in to the network but IE showed nothing. ...
    (microsoft.public.win2000.ras_routing)
  • Re: Always dynamically update DNS A and PTR records
    ... its name that the DHCP server gave during the lease which is Domain.local. ... The DHCP server always registers and updates client information with its ... its configured DNS servers, follow these steps: ... updates according to the settings below check box, ...
    (microsoft.public.windows.server.dns)
  • Re: Samba sharing with Windows clients
    ... > This happens on every Windows client PC. ... the box using it's netbios or dns name. ... Keep in mind this is a default installation of Red Hat, ... pulling DNS, GW, and other settings from the DHCP server properly so I am ...
    (alt.os.linux.redhat)
  • Re: outlook refreshing
    ... and the clients would pick up the new settings. ... Yes I did change the DNS ... On the new computers and the rebuilt computers this is not ... > If is it just affecting Outlook, and its set as a MAPI client, that would ...
    (microsoft.public.win2000.dns)
  • Re: outlook refreshing
    ... and the clients would pick up the new settings. ... Yes I did change the DNS ... On the new computers and the rebuilt computers this is not ... > If is it just affecting Outlook, and its set as a MAPI client, that would ...
    (microsoft.public.exchange2000.connectivity)