[Samba] RE: Trying to set-up Stunnel for samba

Collard, Stephane Stephane.Collard at atosorigin.com
Mon May 6 01:06:03 GMT 2002


Hi,

Depending on the version of samba you don't need stunnel running on the
samba server. Just configure samba to run with SSL on usual 139 port.

On the client try the command line "D:\stunnel\stunnel.exe -c -d
127.0.0.2:139 -r <IP_SAMBA_SERVER>:139 -n smb" for stunnel.


Then map a shared folder of your samba server like this
\\127.0.0.2\<shared_folder>


Hope it helps, I spent several weeks figuring out the different
documentations myself.


Stéphane.

-----Original Message-----
From: Neil Aggarwal [mailto:neil at JAMMConsulting.com]
Sent: Sunday, May 05, 2002 17:45
To: Stunnel Users; Samba mailing list
Subject: Trying to set-up Stunnel for samba


Hello:

I am trying to set-up an stunnel for samba.

On my Linux server, I have samba set-up and working
in non-ssl mode.  I set up a file share called Documents.

Then, I ran an stunnel on the command line to allow
me to tunnel thru it.  Here is what I did:
/usr/sbin/stunnel -D 7 -f 2139 -r 139

Then, on my client (A Windows 2000 machine), I
did the following:
1. Created a directory c:\bin
2. Downloaded the file
http://www.kuix.de/ssl/stunnel-3.11-kai-gui-winexe.zip
	and extracted it.
3. I then went to a command line, changed to the c:\bin directory
   and typed this command:
 	stunnel.exe -c -d 127.0.0.2:139 -n smb -r 204.130.252.205:2139

I then went to windows explorer and tried to add a network
place with the location \\127.0.0.2\Documents but when it
tries to connect, I get a pop-up that says the network path
was not found.

The command line on my Windows 2000 box has this message:
LOG5[796:924]: 204.130.252.205.2139 connected from 192.168.1.3:1206
LOG3[796:924]: remote connect: Unknown error (10060)

There are no messages on the command line on the Linux box, so it
seems that I was not able to connect to it.  This is strange since
I know that it is not a firewall issue.

If I compile samba with the --with-ssl option, everything works fine.

Any ideas?

Thanks,
	Neil.
--
Neil Aggarwal
JAMM Consulting, Inc.    (972) 612-6056, http://www.JAMMConsulting.com
Custom Internet Development    Websites, Ecommerce, Java, databases




More information about the samba mailing list