[Samba] Samba over bridged ethernet VPN

Daniel Bye danielby at slightlystrange.org
Mon Sep 29 16:33:33 GMT 2008


Hi all,

I have Samba 3.0.32 on FreeBSD-7-RELEASE, set up to act as a very simple
workgroup file server (i.e., no domain or anything fancy like that). It
is the latest version of Samba available in ports.

I am seeing timeouts and connection reset errors in my per-client logs such
as the following. For clients on the local LAN, the errors don't cause any 
real problems. However, for remote clients connected over OpenVPN in bridged 
Ethernet mode over cheap domestic ADSL lines, they result in the clients 
being unable to open or otherwise manipulate files on the server.

[2008/09/26 16:39:36, 0] lib/util_sock.c:read_data(534)
  read_data: read failure for 4 bytes to client 10.0.0.201. Error = Connection r
reset by peer
[2008/09/26 16:39:36, 0] lib/util_sock.c:write_data(562)
  write_data: write failure in writing to client 10.0.0.201. Error Broken pipe
[2008/09/26 16:39:36, 0] lib/util_sock.c:send_smb(761)
  Error writing 75 bytes to client. -1. (Broken pipe)
[2008/09/26 16:39:37, 1] smbd/service.c:make_connection_snum(1033)
  pgchomexp (10.0.0.201) connect to service shared initially as user alison (uid
=2527, gid=1500) (pid 73259)
[2008/09/26 16:40:45, 0] lib/util_sock.c:write_data(562)
  write_data: write failure in writing to client 10.0.0.201. Error Broken pipe
[2008/09/26 16:40:45, 0] lib/util_sock.c:send_smb(761)
  Error writing 61503 bytes to client. -1. (Broken pipe)
[2008/09/26 16:40:45, 1] smbd/service.c:close_cnum(1230)
  pgchomexp (10.0.0.201) closed connection to service shared
[2008/09/26 16:40:45, 1] smbd/service.c:make_connection_snum(1033)
  pgchomexp (10.0.0.201) connect to service shared initially as user alison (uid
=2527, gid=1500) (pid 74249)
[2008/09/26 17:41:06, 0] lib/util_sock.c:read_data(534)
  read_data: read failure for 4 bytes to client 10.0.0.201. Error = Operation ti
med out

...and so on.

This client machine is running WinXP Pro, but we are seeing the same for
WinXP Home, Vista HP, FreeBSD and Linux-based clients. I have found several
references to the same problem in numerous mailing list archives and bug
reports around the web, but none of them seems to have a definite fix.
Anyone know of anything I can try here?

Thanks for any help or insights you can offer...

Dan

-- 
Daniel Bye
                                                                     _
                                              ASCII ribbon campaign ( )
                                         - against HTML, vCards and  X
                                - proprietary attachments in e-mail / \
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 195 bytes
Desc: not available
Url : http://lists.samba.org/archive/samba/attachments/20080929/b4871109/attachment.bin


More information about the samba mailing list