You also need an /etc/xinet.d/swat configuration file. Your system might have a single configuration file in /etc/, or a number of files in /etc/xinet.d/
Here is an example:
Code:
etc/xinetd.d> cat swat
# SWAT is the Samba Web Administration Tool.
service swat
{
socket_type = stream
protocol = tcp
port = 901
wait = no
user = root
server = /usr/sbin/swat
only_from = 127.0.0.1
log_on_failure += USERID
}