[Samba] Can connect to shares via IP but not hostname

Scott samba at troutpocket.org
Fri Dec 8 16:59:10 GMT 2006


Martin Zielinski wrote:
> Scott schrieb:
>> John Drescher wrote:
>>> On 12/7/06, Scott <samba at troutpocket.org> wrote:
>>>> Last night I upgraded my FC5 to samba-3.0.23c from 3.0.21b.  As a 
>>>> result I
>>>> can no longer browse shares on the samba server via 
>>>> \\hostname\share\.  I can, however, access everything as usual via 
>>>> \\10.0.0.2\share\.
>>>>
>>>> Nothing else in my config has changed.  The hostname resolves from 
>>>> all machines on the domain correctly so it's doesn't appear to be a 
>>>> name
>>>> resolution issue.  I can see the root shares on the samba server, 
>>>> but when
>>>> I try to browse them I get the error:
>>>>
>>>> "\\hostname\share refers to a location that is unavailable.  It 
>>>> could be on
>>>> a hard drive..."
>>>>
>>>> I reverted back to 3.0.21b and the error persists.  All clients are 
>>>> having
>>>> the same identical problem.  TIA.
>>>>
>>> Is nmbd running on the server?
>>
>> Yes.  There are no unusual errors in smbd.log or nmbd.log, either.  I 
>> can see all the network shares, including those on the samba server, 
>> via smbtree.
>>
>> -Scott
> Are you using ADS kerberos authentication in your network?
> If so, your kerberos might be broken.

I'm not using AD.  This is a samba box acting as a DC.

> When you are using the hostname, the client tries to authenticate via 
> kerberos ticket. If this fails, it's over.

I'll look into this next.  Could it be a PAM issue?

-Scott


More information about the samba mailing list