On Monday 30 July 2001 3:07 pm, Hung Hua wrote:
Hi there,
As for SWAT I also can get it to work. I got Samba install and configure so that I can see the files on my NT workstation computer. I went and uncommented the line "swat stream tcp nowait.400 root /usr/sbin/swat swat" in the inetd.conf file. I have also check the /etc/services file and make sure the the "swat 901/tcp" line is in the services file.
I have rebooted my computer several time and I still can't get Telnet and SWAT to work on my computer. So if you can please help me that would be great.
SWAT gave me a lot of trouble; but I've found *a* way to get around it I added the following lines to /etc/hosts.allow swat: 127.0.0.1 cups: 127.0.0.1 (with suitably draconian precautions elsewhere so that no-one else can even *try* to connect on the loopback address) With those two lines, the web-admin frontends for SWAT and CUPS both work fine on my local machine. AFAIAA, you can add your LAN address (minus the individual machines) if you want to be able to admin Samba from your network machines; swat: 127.0.0.1 192.168.235 (hosts.allow, of course) will give access to loopback and any machine in the 192.168.235 network (setting this to password-protected is essential). Hope this helps, Gideon Hallett. (And if I've committed some gross blunder by doing this, let me know; all I can say is; it seems to work and not to break anything.)