Re: [stunnel-users] Problems accessing samba

This is a discussion on Re: [stunnel-users] Problems accessing samba within the Stunnel Users forums, part of the Networking and Network Related category; Quoting webmaster@escoltesiguies.cat: > I have a winXP machine which should connect to a linux samba. > Everything installed ...


Go Back   Usenet Forums > Networking and Network Related > Stunnel Users

FAQ Members List Calendar Search Today's Posts Mark Forums Read
  #1 (permalink)  
Old 11-27-2007
webmaster@escoltesiguies.cat
 
Posts: n/a
Default Re: [stunnel-users] Problems accessing samba

Quoting webmaster@escoltesiguies.cat:

> I have a winXP machine which should connect to a linux samba.
> Everything installed following
> http://wiki.netbsd.se/index.php/How_...a_with_stunnel
> ...


I have checked and stunnel4 was failing to run, now it starts
correctly but it don't establish the connection:

server-config:
#### Simple stunnel configuration for a secure samba setup ####

; Some debugging stuff useful for troubleshooting
debug = 7
output = /var/log/stunnel4/stunnel.log
# OpenSSL certificate
;cert = /usr/pkg/etc/stunnel/stunnel.pem
# Run chrooted as nobody
chroot = /var/run/stunnel4
setuid = nobody
setgid = nogroup
# This file is created after chrooting
pid = /var/lock/stunnel.pid
# Accept connections on port 800, on any interface
[smb]
accept = 0.0.0.0:8888
# instead of port 139, port 445 will also work, unless you're using
Mac OS X clients
connect = localhost:139


server-log:
2007.11.27 13:28:14 LOG5[3103:3082884800]: stunnel 4.14 on
i486-pc-linux-gnu PTHREAD+POLL+IPv6+LIBWRAP with OpenSSL 0.9.8a 11 Oct
2005
2007.11.27 13:28:14 LOG4[3103:3082884800]: Wrong permissions on
/etc/stunnel/stunnel.pem
2007.11.27 13:28:14 LOG7[3103:3082884800]: Snagged 64 random bytes
from /root/.rnd
2007.11.27 13:28:14 LOG7[3103:3082884800]: Wrote 1024 new random bytes
to /root/.rnd
2007.11.27 13:28:14 LOG7[3103:3082884800]: RAND_status claims
sufficient entropy for the PRNG
2007.11.27 13:28:14 LOG6[3103:3082884800]: PRNG seeded successfully
2007.11.27 13:28:14 LOG7[3103:3082884800]: Certificate:
/etc/stunnel/stunnel.pem
2007.11.27 13:28:14 LOG7[3103:3082884800]: Key file: /etc/stunnel/stunnel.pem
2007.11.27 13:28:16 LOG6[3103:3082884800]: file ulimit = 1024 (can be
changed with 'ulimit -n')
2007.11.27 13:28:16 LOG6[3103:3082884800]: poll() used - no FD_SETSIZE
limit for file descriptors
2007.11.27 13:28:16 LOG5[3103:3082884800]: 500 clients allowed
2007.11.27 13:28:16 LOG7[3103:3082884800]: FD 4 in non-blocking mode
2007.11.27 13:28:16 LOG7[3103:3082884800]: FD 5 in non-blocking mode
2007.11.27 13:28:16 LOG7[3103:3082884800]: FD 6 in non-blocking mode
2007.11.27 13:28:16 LOG7[3103:3082884800]: SO_REUSEADDR option set on
accept socket
2007.11.27 13:28:16 LOG7[3103:3082884800]: smb bound to 0.0.0.0:8888
2007.11.27 13:28:16 LOG7[3104:3082884800]: Created pid file
/var/lock/stunnel.pid


_______________________________________________
stunnel-users mailing list
stunnel-users@mirt.net
http://stunnel.mirt.net/mailman/listinfo/stunnel-users
Reply With Quote
Reply


Thread Tools
Display Modes

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

vB code is On
Smilies are Off
[IMG] code is Off
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On



All times are GMT +1. The time now is 12:58 PM.


Powered by vBulletin® Version 3.6.8
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
Content Relevant URLs by vBSEO 3.0.0