[Fwd: Re: [Samba] can't connect to swat]
EHines
eehines at comcast.net
Sun Apr 16 13:52:32 GMT 2006
Sorry for the direct post....
Eric Hines
-------- Original Message --------
Subject: Re: [Samba] can't connect to swat
Date: Sun, 16 Apr 2006 08:51:45 -0500
From: EHines <eehines at comcast.net>
To: Larry Weldon <lweldon at weldoncomputers.com>
References: <02a201c66148$c8925290$0c46a8c0 at jshinotebook>
<1145194206.20034.72.camel at tiger.home.welcoin.com>
Larry Weldon wrote:
> On Sun, 2006-04-16 at 21:27 +1000, Jeffrey wrote:
>
>> ...I have enabled swat in inetd.conf.
>> But I can't connect to http://x.x.x.x:901 from client PC using web browser.
>>
>
> I can't speak directly to inetd as I use xinetd but if you can connect
> from the smb server using http://localhost:901 you should also try it
> from the server using the server's local IP.
>
> Most likely you don't have the inetd only_from option set or it just
> reads:
> only_from = 127.0.0.1
>
> If your LAN is 10.64.64.0/24 you should make it:
> only_from = 127.0.0.1 10.64.64.0/24
> or something like that.
>
> Larry
>
I have my swat file set to
only_from = localhost
Then logging in with <http://localhost:901> should work OK.
Incidentally, the swat file in an xinetd setup is typically located in
/etc/xinetd.d. I know very little about inetd environments, but there's
a pretty good discussion of swat enabling in O'Reilly's _Using Samba_
(Ts, Eckstein, Collier-Brown), beginning on pg 52. This discussion
includes the inetd environment.
Eric Hines
--
I don’t give ‘em hell. I just tell the truth on ‘em, and they think it’s hell.
—Harry Truman
--
I don’t give ‘em hell. I just tell the truth on ‘em, and they think it’s hell.
—Harry Truman
More information about the samba
mailing list