[Samba] Disconnected...:( It MUST be a kernel problem OR a Samba problem.

cantisan
2002-12-04T02:48:01Z

Here's what you asked for - along with some tcpdump data that shows
what I'm thinking the problem is...If anyone knows what this is - I'd
LOVE to
hear it - I've seen lots of posts about this type of error from
others, and none of those folks have posted their problem being fixed
(they probably gave up on it like I did for awhile...)

Log Entries
----------------------------
[2002/10/29 02:51:28, 0] lib/util_sock.c:read_data(436)
  read_data: read failure for 4. Error = Connection reset by peer
[2002/10/29 03:24:53, 0] lib/util_sock.c:read_data(436)
  read_data: read failure for 4. Error = Connection reset by peer
[2002/10/29 03:58:28, 0] lib/util_sock.c:read_data(436)
  read_data: read failure for 4. Error = Connection reset by peer
[2002/10/29 05:04:48, 0] lib/util_sock.c:read_data(436)
  read_data: read failure for 4. Error = Connection reset by peer
[2002/10/29 06:11:30, 0] lib/util_sock.c:read_data(436)
  read_data: read failure for 4. Error = Connection reset by peer
(culled from log file - may not include timestamps matching below
error..)

smb.conf
-----------------
[global]

   workgroup = ARLINGTON
   server string = Samba Server
   hosts allow = 68.100.66.147 127.
   printcap name = /etc/printcap
   load printers = yes
   log file = /var/log/samba/log.%m
   max log size = 100
   security = user
   encrypt passwords = yes
   smb passwd file = /etc/samba/smbpasswd
   socket options = TCP_NODELAY SO_RCVBUF=16384 SO_SNDBUF=16384
[doubled
these from default of 8K to no avail..]
   remote announce = 68.100.67.255
   dns proxy = no


[vfat]
    comment = My share point
    path = /mnt/vfat
    valid users = root
    public = yes
    writable = yes

tcpdump data [Note the constant ack 3742821 from the w2kbox and
retransmits of that same tcp seq number from the linux box. - Errors
appear in the log once both sides give up on the connection.]
--------------------------
14:03:31.813683 linuxgautierhome.netbios-ssn > win2kgautierhome.2312:
.
3623177:3624637(1460) ack 7075 win 12864NBT Packet (DF)

14:03:31.813827 linuxgautierhome.netbios-ssn > win2kgautierhome.2312:
.
3624637:3626097(1460) ack 7075 win 12864NBT Packet (DF)

14:03:31.813913 linuxgautierhome.netbios-ssn > win2kgautierhome.2312:
.
3626097:3627557(1460) ack 7075 win 12864NBT Packet (DF)

14:03:31.813709 win2kgautierhome.2312 > linuxgautierhome.netbios-ssn:
. ack
3623177 win 17520 (DF)

14:03:31.814091 linuxgautierhome.netbios-ssn > win2kgautierhome.2312:
.
3627557:3629017(1460) ack 7075 win 12864NBT Packet (DF)

14:03:31.815046 linuxgautierhome.netbios-ssn > win2kgautierhome.2312:
.
3629017:3630477(1460) ack 7075 win 12864NBT Packet (DF)

14:03:31.816276 linuxgautierhome.netbios-ssn > win2kgautierhome.2312:
P
3630477:3631937(1460) ack 7075 win 12864NBT Packet (DF)

14:03:35.230921 linuxgautierhome.netbios-ssn > win2kgautierhome.2312:
.
3736270:3737730(1460) ack 7264 win 12864NBT Packet (DF)

14:03:35.232150 linuxgautierhome.netbios-ssn > win2kgautierhome.2312:
.
3737730:3739190(1460) ack 7264 win 12864NBT Packet (DF)

14:03:35.233371 linuxgautierhome.netbios-ssn > win2kgautierhome.2312:
.
3739190:3740650(1460) ack 7264 win 12864NBT Packet (DF)

14:03:35.234605 linuxgautierhome.netbios-ssn > win2kgautierhome.2312:
.
3740650:3742110(1460) ack 7264 win 12864NBT Packet (DF)

14:03:35.235833 linuxgautierhome.netbios-ssn > win2kgautierhome.2312:
P
3742110:3742821(711) ack 7264 win 12864NBT Packet (DF)

14:03:35.238357 win2kgautierhome.2312 > linuxgautierhome.netbios-ssn:
. ack
3733350 win 17520 (DF)

14:03:35.240685 win2kgautierhome.2312 > linuxgautierhome.netbios-ssn:
. ack
3736270 win 17520 (DF)

14:03:35.240755 win2kgautierhome.2312 > linuxgautierhome.netbios-ssn:
. ack
3739190 win 17520 (DF)

14:03:35.240828 win2kgautierhome.2312 > linuxgautierhome.netbios-ssn:
. ack
3742110 win 17520 (DF)

14:03:35.386634 win2kgautierhome.2312 > linuxgautierhome.netbios-ssn:
. ack
3742821 win 16809 (DF)

14:03:35.472945 linuxgautierhome.netbios-ssn > win2kgautierhome.2312:
P
3742110:3742821(711) ack 7264 win 12864NBT Packet (DF)

14:03:35.473867 win2kgautierhome.2312 > linuxgautierhome.netbios-ssn:
. ack
3742821 win 16809 (DF)

14:03:35.952929 linuxgautierhome.netbios-ssn > win2kgautierhome.2312:
P
3742110:3742821(711) ack 7264 win 12864NBT Packet (DF)

14:03:35.953857 win2kgautierhome.2312 > linuxgautierhome.netbios-ssn:
. ack
3742821 win 16809 (DF)

14:03:36.312888 win2kgautierhome.2312 > linuxgautierhome.netbios-ssn:
P
7264:7327(63) ack 3742821 win 16809NBT Packet (DF)

14:03:36.590688 win2kgautierhome.2312 > linuxgautierhome.netbios-ssn:
P
7264:7327(63) ack 3742821 win 16809NBT Packet (DF)

14:03:36.912940 linuxgautierhome.netbios-ssn > win2kgautierhome.2312:
P
3742110:3742821(711) ack 7264 win 12864NBT Packet (DF)

14:03:36.913874 win2kgautierhome.2312 > linuxgautierhome.netbios-ssn:
. ack
3742821 win 16809 (DF)

14:03:37.192675 win2kgautierhome.2312 > linuxgautierhome.netbios-ssn:
P
7264:7327(63) ack 3742821 win 16809NBT Packet (DF)

14:03:38.396660 win2kgautierhome.2312 > linuxgautierhome.netbios-ssn:
P
7264:7327(63) ack 3742821 win 16809NBT Packet (DF)

14:03:38.832951 linuxgautierhome.netbios-ssn > win2kgautierhome.2312:
P
3742110:3742821(711) ack 7264 win 12864NBT Packet (DF)

14:03:38.833899 win2kgautierhome.2312 > linuxgautierhome.netbios-ssn:
. ack
3742821 win 16809 (DF)

14:03:40.804614 win2kgautierhome.2312 > linuxgautierhome.netbios-ssn:
P
7264:7327(63) ack 3742821 win 16809NBT Packet (DF)

14:03:42.672945 linuxgautierhome.netbios-ssn > win2kgautierhome.2312:
P
3742110:3742821(711) ack 7264 win 12864NBT Packet (DF)

14:03:42.673882 win2kgautierhome.2312 > linuxgautierhome.netbios-ssn:
. ack
3742821 win 16809 (DF)

14:03:45.620530 win2kgautierhome.2312 > linuxgautierhome.netbios-ssn:
P
7264:7327(63) ack 3742821 win 16809NBT Packet (DF)

14:03:50.352945 linuxgautierhome.netbios-ssn > win2kgautierhome.2312:
P
3742110:3742821(711) ack 7264 win 12864NBT Packet (DF)

14:03:50.353870 win2kgautierhome.2312 > linuxgautierhome.netbios-ssn:
. ack
3742821 win 16809 (DF)

14:03:57.274712 win2kgautierhome.2368 > linuxgautierhome.netbios-ssn:
S
190270605:190270605(0) win 16384 <mss 1460,nop,nop,sackOK> (DF)

14:04:00.268879 win2kgautierhome.2368 > linuxgautierhome.netbios-ssn:
S
190270605:190270605(0) win 16384 <mss 1460,nop,nop,sackOK> (DF)

14:04:05.712986 linuxgautierhome.netbios-ssn > win2kgautierhome.2312:
P
3742110:3742821(711) ack 7264 win 12864NBT Packet (DF)

14:04:05.713925 win2kgautierhome.2312 > linuxgautierhome.netbios-ssn:
R
29991291:29991291(0) win 0

14:04:06.288743 win2kgautierhome.2368 > linuxgautierhome.netbios-ssn:
S
190270605:190270605(0) win 16384 <mss 1460,nop,nop,sackOK> (DF)

14:04:36.432974 linuxgautierhome.netbios-ssn > win2kgautierhome.2312:
P
3742110:3742821(711) ack 7264 win 12864NBT Packet (DF)

14:04:36.433920 win2kgautierhome.2312 > linuxgautierhome.netbios-ssn:
R
29991291:29991291(0) win 0

14:05:37.872984 linuxgautierhome.netbios-ssn > win2kgautierhome.2312:
P
3742110:3742821(711) ack 7264 win 12864NBT Packet (DF)

14:05:37.873929 win2kgautierhome.2312 > linuxgautierhome.netbios-ssn:
R
29991291:29991291(0) win 0

-------------- next part --------------
HTML attachment scrubbed and removed