Swat And SSL
Hello Friends,
I made me a new server for my SOHO. This is mandrake server 10.1, and I run samba on this server. To make life easier, I use swat. To avoid any security issue, I want to use SSL for the swat. I read all over the net, and I manage to start SSL connection to the Swat, but I have one big problem - I can't get it to work as service, mean that I the swat ssl don't work on restart ( Xinetd ). If I write the command : # stunnel /etc/stunnel/swat.conf, I can access the swat through ssl with no probelm. It don't work with me swat of the Xinetd. The swat xinetd service file is : # 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 admin server = /usr/sbin/stunnel server_args = /etc/stunnel/swat.conf log_on_failure += USERID } the swat.conf for the stunnel is : cert = /etc/stunnel/swat.pem pid = /var/run/stunnel.swat service = swat [swat-stunnel] accept = 901 exec = /usr/sbin/swat execargs = swat TIMEOUTclose = 0 Please help me with this, i cant figure why this is not working. :confused: |
technically this should work! do you find any error message in logs?
|
In what log should I look ?
And how do I make the log ? |
All times are GMT -5. The time now is 02:00 AM. |