[Samba] RE: Trying to set-up Stunnel for samba
Stephane.Collard at atosorigin.com
Mon May 6 01:06:03 GMT 2002
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
Hope it helps, I spent several weeks figuring out the different
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
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
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 22.214.171.124: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]: 126.96.36.199.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.
JAMM Consulting, Inc. (972) 612-6056, http://www.JAMMConsulting.com
Custom Internet Development Websites, Ecommerce, Java, databases
More information about the samba