Share your knowledge at the LQ Wiki.
Go Back > Forums > Linux Forums > Linux - Security
User Name
Linux - Security This forum is for all security related questions.
Questions, tips, system compromises, firewalls, etc. are all included here.


  Search this Thread
Old 04-29-2005, 03:01 AM   #1
LQ Newbie
Registered: Mar 2004
Posts: 5

Rep: Reputation: 0
Unhappy 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 =
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

accept = 901
exec = /usr/sbin/swat
execargs = swat
TIMEOUTclose = 0

Please help me with this, i cant figure why this is not working.

Old 04-29-2005, 03:48 AM   #2
Registered: Mar 2005
Location: Chennai, India
Distribution: Ubuntu, CentOS
Posts: 72

Rep: Reputation: 15
technically this should work! do you find any error message in logs?
Old 04-29-2005, 08:18 AM   #3
LQ Newbie
Registered: Mar 2004
Posts: 5

Original Poster
Rep: Reputation: 0
In what log should I look ?
And how do I make the log ?


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off

Similar Threads
Thread Thread Starter Forum Replies Last Post
vsFTPd - SSL connection and dynamic SSL ports toxoplasme Linux - Server 11 08-22-2008 10:50 PM
apache2 - ssl : connection via ssl interrupted ldp Linux - Software 0 10-02-2005 09:07 AM
Swat cclavey Linux - Networking 9 04-23-2003 09:54 AM
Swat Hone101 Linux - Newbie 4 03-22-2003 01:30 PM
Swat Hone101 Linux - General 1 03-22-2003 07:33 AM > Forums > Linux Forums > Linux - Security

All times are GMT -5. The time now is 12:53 PM.

Main Menu
Write for LQ is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration