[KLUG Members] SWAT?
Bryan-TheBS-Smith
members@kalamazoolinux.org
Sat, 18 Aug 2001 02:44:07 -0400
Ian wrote:
> When I do a ps grep I can see two instances of smbd and one on nmbd
> running. I am at a loss at this point, any recommendations would be
> appreciated.
> Note that I can access the web server by just doing a
> http://192.168.1.200.
On newer Linux distributions that use Xinetd, by default, you can
_only_ access SWAT on the server itself. This is controlled by the
Xinetd config file -- e.g., RedHat 7.x:
$ cat /etc/xinetd.d/swat
# default: off
# description: SWAT is the Samba Web Admin Tool. Use swat \
# to configure your Samba server. To use SWAT, \
# connect to port 901 with your favorite web browser.
service swat
{
disable = no
port = 901
socket_type = stream
wait = no
only_from = 127.0.0.1
user = root
server = /usr/sbin/swat
log_on_failure += USERID
}
Edit this file and add your subnet to the "only_from" list. You can
use various notations (see "man 5 xinetd.conf" for details). Also
make sure the "disable = no" line doesn't say "yes".
Also be sure to restart Xinetd (e.g., /etc/rc.d/init.d/xinetd
restart ) after making any changes.
-- TheBS
--
Bryan "TheBS" Smith mailto:b.j.smith@ieee.org chat:thebs413
Engineer Absolute Value Systems, Inc. http://www.linux-wlan.org
President SmithConcepts, Inc. http://www.SmithConcepts.com