ramki,
Version 7.0 and on of Red Hat uses a couple of different mechanisms in using SWAT (which I learned the hard way, being so used to 6.x
). Make sure you have SWAT set up in your /etc services file by having this line there and uncommented:
swat 901/tcp
Second, for various reasons, Red Hat now uses xinetd rather than inetd that were all used to. Create a file (if it's not there already called swat in the /etc/xinetd.d/ directory. Type the following in:
service swat
{
port = 901
socket_type = stream
wait = no
user = root
server = /usr/local/samba/bin/swat
log_on_failure += USERID
disable = no
}
and finally, Red Hat (and SWAT) uses PAM for authentication. Make sure that the /etc/pam.d/samba file exists and that it contains the following:
auth required /lib/security/pam_pwdb.so nullok shadow
account required /lib/security/pam_pwdb.so
Restart xinetd with a <b>killall -HUP xinetd</b>, access the site through <b>
http://localhost:901</b> and you should be ready to go!!! Good luck!!!