Samba Win 98 Client requested max send size of 2920

Heric Holmes hholmes at mcginnandassociates.com
Tue Dec 17 23:11:02 GMT 2002


We are having a problem with our samba server not transfering files on a 
mapped share on Windows 98 that are larger than 2920kb. WE cannot upload 
them to the Server but we can download off the server. We can send files 
into the network neighbourhood and the Samba server works fine. I 
upgraded Samba 2 weeks ago and then had a power outage two days ago and 
that is when the problem started. I am all out of ideas to what the 
problem is. The samba we are running is 2.0.10 on a Redahat 6.2 kernel 
2.2.22-6.2.2

# Samba config file created using SWAT
# from scanner (192.75.251.16)
# Date: 2001/03/16 03:55:51

# Global parameters
[global]
    log file = /var/log/samba/log.%m
    remote announce = 24.72.29.240/workgroup 24.72.29.242/workgroup
    max log size = 50
    interfaces = 192.168.101.1/255.255.255.0 24.72.29.240/255.255.255.255
    domain master = yes
    default = netlogon
    domain logons = yes
    encrypt passwords = yes
    server string = Samba Server on mcginn
    root postexec = rm /home/netlogon/%U.bat
    workgroup = workgroup
    root preexec = /home/netlogon/genlogon.pl %U %G %L
    comment = Network Domain Logon Control
    logon script = %u.bat
    ulimit = 800000
    socket options = SO_KEEPALIVE TCP_NODELAY SO_SNDBUF=9182 SO_RCVBUF=9182
    security = user
    os level = 63
    log level = 10
    wins support = true

[homes]
    writable = yes
    comment = Home Directories
    browseable = no
    public = yes

[public]
    comment = Samba Directory
    force create mode =
    create mode = 777
    force directory mode =
    directory mode = 777
    writable = yes
    path = /home/public

[netlogon]
    force create mode = 774
    force directory mode = 774
    comment = Net Logon Directory
    path = /home/netlogon

[drafters]
    comment = Library of Drawings
    read list = @ftpadmin
    create mode = 770
    directory mode = 770
    writable = yes
    path = /home/drafters
    public = yes

[stenos]
    create mode = 770
    directory mode = 770
    writable = yes
    comment = Written Documents
    path = /home/stenos

[accounting]
    create mode = 770
    directory mode = 770
    writable = yes
    comment = accounting files
    path = /home/accounting




log file for comp2

snip
[2002/12/17 16:42:09, 6] smbd/reply.c:reply_sesssetup_and_X(1010)
  Client requested max send size of 2920
[2002/12/17 16:42:09, 3] smbd/process.c:chain_reply(775)
  Chained message
[2002/12/17 16:42:09, 5] lib/util.c:show_msg(430)
  size=156
  smb_com=0x75
  smb_rcls=0
  smb_reh=0
  smb_err=0
  smb_flg=16
  smb_flg2=0
[2002/12/17 16:42:09, 5] lib/util.c:show_msg(436)
  smb_tid=1
  smb_pid=8695
  smb_uid=100
  smb_mid=28033
  smt_wct=4
[2002/12/17 16:42:09, 5] lib/util.c:show_msg(441)
  smb_vwv[0]=255 (0xFF)
[2002/12/17 16:42:09, 5] lib/util.c:show_msg(441)
  smb_vwv[1]=0 (0x0)
[2002/12/17 16:42:09, 5] lib/util.c:show_msg(441)
  smb_vwv[2]=2 (0x2)
[2002/12/17 16:42:09, 5] lib/util.c:show_msg(441)
  smb_vwv[3]=1 (0x1)
[2002/12/17 16:42:09, 5] lib/util.c:show_msg(446)
  smb_bcc=18
[2002/12/17 16:42:09, 10] lib/util.c:dump_data(2918)
  [000] 00 5C 5C 57 57 57 5C 47  53 41 4E 44 45 52 00 41  .\\WWW\G SANDER.A
[2002/12/17 16:42:09, 10] lib/util.c:dump_data(2926)
  [010] 3A 00                                             :.
[2002/12/17 16:42:09, 3] smbd/process.c:switch_message(448)
  switch message SMBtconX (pid 13331)
[2002/12/17 16:42:09, 4] smbd/reply.c:reply_tcon_and_X(313)
  Got device type A:
[2002/12/17 16:42:09, 3] smbd/password.c:authorise_login(759)
  ACCEPTED: validated uid ok as non-guest
[2002/12/17 16:42:09, 3] smbd/service.c:make_connection(441)
  Connect path is /home/gsander
[2002/12/17 16:42:09, 3] smbd/password.c:setup_groups(192)
  gsander is in 4 groups: 500, 510, 520, 530
[2002/12/17 16:42:09, 5] smbd/connection.c:claim_connection(137)
  trying claim /var/lock/samba STATUS. 100000
[2002/12/17 16:42:09, 8] lib/util.c:fcntl_lock(2672)
  fcntl_lock 12 7 0 1 1
snip


log.smb
snip
[2002/12/17 16:42:09, 2] smbd/server.c:main(746)
  Changed root to /
[2002/12/17 16:42:09, 3] smbd/oplock.c:open_oplock_ipc(86)
  open_oplock_ipc: opening loopback UDP socket.
[2002/12/17 16:42:09, 3] lib/util_sock.c:open_socket_in(880)
  bind succeeded on port 0
[2002/12/17 16:42:09, 3] smbd/oplock.c:open_oplock_ipc(114)
  open_oplock ipc: pid = 13331, global_oplock_port = 1477
[2002/12/17 16:42:09, 4] lib/time.c:TimeInit(110)
  Serverzone is 21600
[2002/12/17 16:42:09, 10] 
lib/util_sock.c:read_smb_length_return_keepalive(607)
  got smb length of 68
[2002/12/17 16:42:09, 6] smbd/process.c:process_smb(617)
  got message type 0x81 of len 0x44
[2002/12/17 16:42:09, 3] smbd/process.c:process_smb(618)
  Transaction 0 of length 72
[2002/12/17 16:42:09, 2] smbd/reply.c:reply_special(97)
  netbios connect: name1=WWW              name2=COMP2         
[2002/12/17 16:42:09, 10] lib/genrand.c:do_reseed(135)
  do_reseed: got 40 bytes from /dev/urandom.
[2002/12/17 16:42:09, 4] locking/shmem_sysv.c:sysv_shm_open(547)
  Trying sysv shmem open of size 1048576
[2002/12/17 16:42:09, 5] locking/shmem_sysv.c:shm_initialize(424)
  shm_initialize : initializing shmem size 1048576
[2002/12/17 16:42:09, 6] locking/shmem_sysv.c:shm_alloc(253)
  shm_alloc : allocated 52 bytes at offset 48
[2002/12/17 16:42:09, 3] locking/shmem_sysv.c:sysv_shm_open(707)
  Initialised IPC area of size 1048576
[2002/12/17 16:42:09, 6] param/loadparm.c:lp_file_list_changed(1883)
  lp_file_list_changed()
  file /etc/smb.conf -> /etc/smb.conf  last mod_time: Tue Dec 17 
16:38:13 2002
snip

log.nmb
snip
dump_workgroups()
   dump workgroup on subnet   192.168.101.1: netmask=  255.255.255.0:
      WORKGROUP(1) current master browser = WWW
          WWW 400c9b0b (Samba Server on mcginn)
          COMP11 40412203 (e mail)
          COMP47 40412203 (line47)
          COMP4 40412003 (jmcginn)
          COMP3 40412203 (line5)
[2002/12/17 16:52:59, 4] nmbd/nmbd_workgroupdb.c:dump_workgroups(292)
  dump_workgroups()
   dump workgroup on subnet  UNICAST_SUBNET: netmask=  192.168.101.1:
      WORKGROUP(1) current master browser = UNKNOWN
          WWW 40099b0b (Samba Server on mcginn)
[2002/12/17 16:52:59, 4] 
nmbd/nmbd_workgroupdb.c:find_workgroup_on_subnet(164)
  find_workgroup_on_subnet: workgroup search for WORKGROUP on subnet 
UNICAST_SUBNET: found.
[2002/12/17 16:52:59, 4] 
nmbd/nmbd_workgroupdb.c:find_workgroup_on_subnet(164)
  find_workgroup_on_subnet: workgroup search for WORKGROUP on subnet 
UNICAST_SUBNET: found.
snip




More information about the samba-technical mailing list