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 <[EMAIL PROTECTED]>
To:     Larry Weldon <[EMAIL PROTECTED]>
References: <[EMAIL PROTECTED]> <[EMAIL PROTECTED]>



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

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

Reply via email to