Bug 4221 - Problem to copy files from Win XP 64-Bit SP1 to Samba 3.0.20-4-SUSE
Summary: Problem to copy files from Win XP 64-Bit SP1 to Samba 3.0.20-4-SUSE
Status: RESOLVED WONTFIX
Alias: None
Product: Samba 3.0
Classification: Unclassified
Component: File Services (show other bugs)
Version: 3.0.20
Hardware: x86 Linux
: P3 normal
Target Milestone: none
Assignee: Samba Bugzilla Account
QA Contact: Samba QA Contact
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2006-11-12 15:40 UTC by Thomas Malkus
Modified: 2018-03-17 23:30 UTC (History)
0 users

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Thomas Malkus 2006-11-12 15:40:26 UTC
I have a problem to copy files from or to a Windows XP 64-Bit SP1. After a few files the copy aborted and the Explorer hung. This will only happen, if I copy
whole directories, with single files of every size I have no problem.

I use a very small smb.conf:

[global]
        workgroup = isnix.de
        server string = %h server (Samba, SuSE)
        interfaces = 192.168.1.0/24
        log file = /var/log/samba/log.%m
        max log size = 10000
        security = user
        passdb backend = smbpasswd
        # socket options = TCP_NODELAY SO_SNDBUF=8192 SO_RCVBUF=8192
        log level = 3 passdb:5 auth:10 winbind:2

I have tried to run 3.0.23c, but there is the same problem. I use also a Ubuntu
Dapper Drake with Samba 3.0.22 under VMServer, with this system I have no problem
to copy files to and from the XP 64-Bit. Also I have no problems to copy files from and to 3.0.20-4-SUSE with a Win XP SP2 (32-Bit) and a Win 2000 SP4.

I have not the knowledge from samba to find a solution for this problem, but
as you can see directly after the close of the file images.idx is a "Non-SMB
packet of length 0. Terminating Server". As this moment I got the error on the
XP 64-Bit machine. 

I have tried different filesystems, reiserfs, ext3 and xfs, but it is always the
same.

This is, as I think, the important part of the log file:

[2006/11/12 21:55:40, 2] smbd/close.c:close_normal_file(270)
  tom closed file projects/fli4l-floppy/doc/deutsch/html/advanced_networking/images.aux (numopen=0) 
[2006/11/12 21:55:40, 3] smbd/process.c:process_smb(1114)
  Transaction 32 of length 230
[2006/11/12 21:55:40, 3] smbd/process.c:switch_message(900)
  switch message SMBntcreateX (pid 8637) conn 0x803a2b80
[2006/11/12 21:55:40, 3] smbd/dosmode.c:unix_mode(121)
  unix_mode(projects/fli4l-floppy/doc/deutsch/html/advanced_networking/images.idx) returning 0660
[2006/11/12 21:55:40, 2] smbd/open.c:open_file(372)
  tom opened file projects/fli4l-floppy/doc/deutsch/html/advanced_networking/images.idx read=Yes write=Yes (numopen=1)
[2006/11/12 21:55:40, 3] smbd/oplock_linux.c:linux_set_kernel_oplock(191)
  linux_set_kernel_oplock: got kernel oplock on file projects/fli4l-floppy/doc/deutsch/html/advanced_networking/images.idx, dev = 301, inode = 369098887, file_id = 7
[2006/11/12 21:55:40, 3] smbd/dosmode.c:unix_mode(121)
  unix_mode(projects/fli4l-floppy/doc/deutsch/html/advanced_networking/images.idx) returning 0660
[2006/11/12 21:55:40, 3] smbd/process.c:process_smb(1114)
  Transaction 33 of length 76
[2006/11/12 21:55:40, 3] smbd/process.c:switch_message(900)
  switch message SMBtrans2 (pid 8637) conn 0x803a2b80
[2006/11/12 21:55:40, 3] smbd/trans2.c:call_trans2qfilepathinfo(2760)
  call_trans2qfilepathinfo: TRANSACT2_QFILEINFO: level = 1006
[2006/11/12 21:55:40, 3] smbd/trans2.c:call_trans2qfilepathinfo(2871)
  call_trans2qfilepathinfo projects/fli4l-floppy/doc/deutsch/html/advanced_networking/images.idx (fnum = 7655) level=1006 call=7 total_data=0
[2006/11/12 21:55:40, 3] smbd/process.c:process_smb(1114)
  Transaction 34 of length 120
[2006/11/12 21:55:40, 3] smbd/process.c:switch_message(900)
  switch message SMBtrans2 (pid 8637) conn 0x803a2b80
[2006/11/12 21:55:40, 3] smbd/trans2.c:call_trans2setfilepathinfo(3745)
  call_trans2setfilepathinfo(8) projects/fli4l-floppy/doc/deutsch/html/advanced_networking/images.idx (fnum 7655) info_level=1004 totdata=40
[2006/11/12 21:55:40, 3] smbd/process.c:process_smb(1114)
  Transaction 35 of length 45
[2006/11/12 21:55:40, 3] smbd/process.c:switch_message(900)
  switch message SMBclose (pid 8637) conn 0x803a2b80
[2006/11/12 21:55:40, 3] smbd/reply.c:reply_close(3247)
  close fd=28 fnum=7655 (numopen=1)

[2006/11/12 21:55:40, 2] smbd/close.c:close_normal_file(270)
  tom closed file projects/fli4l-floppy/doc/deutsch/html/advanced_networking/images.idx (numopen=0) 

[2006/11/12 21:55:40, 3] smbd/process.c:process_smb(1114)
  Transaction 36 of length 4
[2006/11/12 21:55:40, 2] smbd/process.c:switch_message(880)
  Non-SMB packet of length 0. Terminating server

[2006/11/12 21:55:40, 3] smbd/sec_ctx.c:set_sec_ctx(288)
  setting sec ctx (0, 0) - sec_ctx_stack_ndx = 0
[2006/11/12 21:55:40, 2] smbd/server.c:exit_server(608)
  Closing connections
[2006/11/12 21:55:40, 3] smbd/sec_ctx.c:set_sec_ctx(288)
  setting sec ctx (0, 0) - sec_ctx_stack_ndx = 0
[2006/11/12 21:55:40, 1] smbd/service.c:close_cnum(835)
  jupiter (192.168.1.16) closed connection to service disk1
[2006/11/12 21:55:40, 3] smbd/connection.c:yield_connection(69)
  Yielding connection to disk1
[2006/11/12 21:55:40, 3] smbd/sec_ctx.c:set_sec_ctx(288)
  setting sec ctx (0, 0) - sec_ctx_stack_ndx = 0
[2006/11/12 21:55:40, 5] auth/auth_util.c:free_server_info(1387)
  attempting to free (and zero) a server_info structure
[2006/11/12 21:55:40, 3] smbd/connection.c:yield_connection(69)
  Yielding connection to 
[2006/11/12 21:55:40, 3] smbd/server.c:exit_server(652)
  Server exit (Non-SMB packet)

[2006/11/12 21:55:40, 5] auth/auth_util.c:make_user_info_map(191)
  make_user_info_map: Mapping user [JUPITER]\[tom] from workstation [JUPITER]
[2006/11/12 21:55:40, 5] auth/auth_util.c:make_user_info(99)
  attempting to make a user_info for tom (tom)
[2006/11/12 21:55:40, 5] auth/auth_util.c:make_user_info(109)
  making strings for tom's user_info struct
[2006/11/12 21:55:40, 5] auth/auth_util.c:make_user_info(151)
  making blobs for tom's user_info struct
[2006/11/12 21:55:40, 10] auth/auth_util.c:make_user_info(167)
  made an encrypted user_info for tom (tom)
[2006/11/12 21:55:40, 3] auth/auth.c:check_ntlm_password(219)
  check_ntlm_password:  Checking password for unmapped user [JUPITER]\[tom]@[JUPITER] with the new password interface
[2006/11/12 21:55:40, 3] auth/auth.c:check_ntlm_password(222)
  check_ntlm_password:  mapped user is: [SATURN]\[tom]@[JUPITER]
[2006/11/12 21:55:40, 10] auth/auth.c:check_ntlm_password(231)
  check_ntlm_password: auth_context challenge created by NTLMSSP callback (NTLM2)
[2006/11/12 21:55:40, 10] auth/auth.c:check_ntlm_password(233)
  challenge is: 
[2006/11/12 21:55:40, 10] auth/auth.c:check_ntlm_password(259)
  check_ntlm_password: guest had nothing to say
[2006/11/12 21:55:40, 3] smbd/sec_ctx.c:push_sec_ctx(256)
  push_sec_ctx(0, 0) : sec_ctx_stack_ndx = 1
[2006/11/12 21:55:40, 3] smbd/uid.c:push_conn_ctx(388)
  push_conn_ctx(0) : conn_ctx_stack_ndx = 0
[2006/11/12 21:55:40, 3] smbd/sec_ctx.c:set_sec_ctx(288)
  setting sec ctx (0, 0) - sec_ctx_stack_ndx = 1
[2006/11/12 21:55:40, 5] passdb/pdb_smbpasswd.c:getsmbfilepwent(486)
  getsmbfilepwent: returning passwd entry for user root, uid 0
[2006/11/12 21:55:40, 5] passdb/pdb_smbpasswd.c:getsmbfilepwent(486)
  getsmbfilepwent: returning passwd entry for user nobody, uid 65534
[2006/11/12 21:55:40, 5] passdb/pdb_smbpasswd.c:getsmbfilepwent(486)
  getsmbfilepwent: returning passwd entry for user gmalkus, uid 5001
[2006/11/12 21:55:40, 5] passdb/pdb_smbpasswd.c:getsmbfilepwent(486)
  getsmbfilepwent: returning passwd entry for user tom, uid 1000
[2006/11/12 21:55:40, 3] smbd/sec_ctx.c:push_sec_ctx(256)
  push_sec_ctx(0, 0) : sec_ctx_stack_ndx = 2
[2006/11/12 21:55:40, 3] smbd/uid.c:push_conn_ctx(388)
  push_conn_ctx(0) : conn_ctx_stack_ndx = 1

Regards, Tom
Comment 1 Simo Sorce 2018-03-17 23:30:43 UTC
Samba 3.0 has been EOLed ages ago.
Closing.