Stunnel.org  
   
Home
About
News
Faq
Examples
Download
Patches
Support
Related
<Examples>

Installing and running the SMB patched Stunnel

(Note: you may wish to look at the information supplied with the patch as well, which is available here.)


To: stunnel-users@mirt.net
Cc: grant@conprojan.com.au
Date: Tue, 16 Jan 2001 12:30:53 +0100
From: Kai Engert <engert@isg.de>
Subject: Re: Windows 95 + Stunnel + Samba 2.0.7 SSL.



Please follow this procedure and let us know if it works. It should, it
works for me.

- Make sure your [Linux SSL Server] is compiled with SSL support and
configured (using configuration files) to use a SSL connection for
connections from the IP of your [Linux Stunnel Machine].

- Download Stunnel 3.11 and my SMB Protocol patch to Stunnel available
at http://webset.de/kaie/ssl/diff-c-311-to-311kai. Compile and install
on your [Linux Stunnel Machine]

- Start Stunnel on the [Linux Stunnel Machine] using a command line
simliar to:

  ./stunnel -d 139 -r [ip of Linux SSL Server]:139 -c -n smb -D6 -f -P
none

  This starts stunnel in foreground so you can watch its messages

- If you use a WINS server in your office, make sure that [Linux Stunnel
Machine] has an entry. Alternatively make a DNS entry for your [Linux
Stunnel Machine] and on your Windows 95 box, enable DNS resolution for
network shares (browse all the network options in control panel and try
to find it - i hope it's there)

- If your [Linux Stunnel Machine] has the hostname "stunnelgateway" and
the share you are going to connect to is called "myfiles", then you need
to use the following path to map your drive

  \\stunnelgateway\myfiles

  Don't use "find computer". Just choose "map network drive" from an
explorer menu and enter the complete path.

  You should now get a prompt to enter your username and password.

  Please note that Windows 95 has problems with usernames and passwords
different from the logged in user. Make sure, that the username /
password combination that you use to login on your windows 95 box is a
valid Samba account on [Linux SSL Server]. If you have never used a
password on your windows computer, press the start button and select
"log in as a different user" and then enter your account data.


  If you still don't get a prompt, go to the [Linux Stunnel Machine] and
see what's happening there. Try to find out whether a connection is
made. Post the messages here. Check the logfiles on [Linux Stunnel
Server].

----
Please tell us, whether it works or not.

Best regards,
Kai