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

=?big5?B?TGF0cmVsbCBXYW5nIKT9xG269Q==?= Latrell.Wang at zyxel.com.tw
Fri Dec 8 02:23:04 GMT 2006


I've ever encountered the same problem but in domain mode.
My domain is win2k3 SBS, after sp1, the anonymous access will be closed.
At this time, using hostname can't map the network drive, but IP can.
I open the anonymous on domain side, and everything works fine.

I also have a post on the mailing list as follows:
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D
Hi all:

 As far as I know, win2k3 sp1 disable anonymous access by default. It =
will remove user =A1=A7anonymous logon=A1=A8 from pre-windows 2000 =
compatible access group.

Under such circumstance, smbmount will not success because anonymous =
access will be blocked. One way to solve the problem is to re-add =
anonymous logon to pre-windows 2000 compatible access group. However, it =
seems to be a security hole. Does anyone encounter the same problem? How =
do you get around the problem?

My samba version is 3.0.21c.=20
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D
=20
Can someone give me some suggestions?
Thanks in advance,

Latrell.

-----Original Message-----
From: samba-bounces+latrell.wang=3Dzyxel.com.tw at lists.samba.org =
[mailto:samba-bounces+latrell.wang=3Dzyxel.com.tw at lists.samba.org] On =
Behalf Of Scott
Sent: Friday, December 08, 2006 2:11 AM
To: John Drescher
Cc: samba at lists.samba.org
Subject: Re: [Samba] Can connect to shares via IP but not hostname

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=20
>> can, however, access everything as usual via \\10.0.0.2\share\.
>>=20
>> Nothing else in my config has changed.  The hostname resolves from =
all=20
>> 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:
>>=20
>> "\\hostname\share refers to a location that is unavailable.  It could =
be on
>> a hard drive..."
>>=20
>> I reverted back to 3.0.21b and the error persists.  All clients are =
having
>> the same identical problem.  TIA.
>>=20
> Is nmbd running on the server?

Yes.  There are no unusual errors in smbd.log or nmbd.log, either.  I =
can see=20
all the network shares, including those on the samba server, via =
smbtree.

-Scott
--=20
To unsubscribe from this list go to the following URL and read the
instructions:  https://lists.samba.org/mailman/listinfo/samba


More information about the samba mailing list