Trouble with copying a file from Windows 95 to a mapped drive

Maurice Volaski mvolaski at aecom.yu.edu
Fri Jun 2 20:18:52 GMT 2000


A PC running Windows 95 has a share mounted from a Samba 2.0.7 server 
running under Mac OS X Server. An attempt is being made to copy a 
file on the PC called suse.iso to a subdirectory of the share 
(faberlab) on the Samba server. The PC hangs a bit and eventually 
complains that it can't create the file. Here is the debug log 
starting from the moment the copy has begun...


[2000/06/02 15:17:32, 3] smbd/process.c:process_smb(618)
   Transaction 29 of length 50
[2000/06/02 15:17:32, 3] smbd/process.c:switch_message(448)
   switch message SMBgetatr (pid 787)
[2000/06/02 15:17:32, 3] lib/util.c:unix_clean_name(522)
   unix_clean_name [/FABERLAB]
[2000/06/02 15:17:32, 3] lib/util.c:unix_clean_name(522)
   unix_clean_name [FABERLAB]
[2000/06/02 15:17:32, 3] smbd/reply.c:reply_getatr(1147)
   getatr name=FABERLAB mode=16 size=0
[2000/06/02 15:17:32, 3] smbd/process.c:process_smb(618)
   Transaction 30 of length 101
[2000/06/02 15:17:32, 3] smbd/process.c:switch_message(448)
   switch message SMBtrans2 (pid 787)
[2000/06/02 15:17:32, 3] smbd/trans2.c:call_trans2findfirst(666)
   call_trans2findfirst: dirtype = 22, maxentries = 6, 
close_after_first=0, close_if_end = 0 requires_resume_key = 0 level = 
260, max_data_bytes = 2432
[2000/06/02 15:17:32, 3] lib/util.c:unix_clean_name(522)
   unix_clean_name [/FABERLAB/SUSE.ISO]
[2000/06/02 15:17:32, 3] lib/util.c:unix_clean_name(522)
   unix_clean_name [FABERLAB/SUSE.ISO]
[2000/06/02 15:17:32, 3] lib/util.c:unix_clean_name(522)
   unix_clean_name [FABERLAB]
[2000/06/02 15:17:32, 3] smbd/dir.c:dptr_create(490)
   creating new dirptr 256 for path FABERLAB, expect_close = 1

The following line is where Samba apparently thinks an error has 
already occurred:
[2000/06/02 15:17:32, 3] smbd/error.c:error_packet(133)
   error packet at line 817 cmd=50 (SMBtrans2) eclass=1 ecode=2
[2000/06/02 15:17:32, 3] smbd/process.c:process_smb(618)
   Transaction 31 of length 59
[2000/06/02 15:17:32, 3] smbd/process.c:switch_message(448)
   switch message SMBgetatr (pid 787)
[2000/06/02 15:17:32, 3] lib/util.c:unix_clean_name(522)
   unix_clean_name [/FABERLAB/SUSE.ISO]
[2000/06/02 15:17:32, 3] lib/util.c:unix_clean_name(522)
   unix_clean_name [FABERLAB/SUSE.ISO]

At this point, I think Samba thought the file had been created, but 
apparently not:
[2000/06/02 15:17:32, 3] smbd/reply.c:reply_getatr(1115)
   stat of FABERLAB/SUSE.ISO failed (No such file or directory)
[2000/06/02 15:17:32, 3] smbd/error.c:error_packet(133)
   error packet at line 1127 cmd=8 (SMBgetatr) eclass=1 ecode=2
[2000/06/02 15:17:32, 3] smbd/error.c:error_packet(143)
   error string = No such file or directory
[2000/06/02 15:17:32, 3] smbd/process.c:process_smb(618)
   Transaction 32 of length 88
[2000/06/02 15:17:32, 3] smbd/process.c:switch_message(448)
   switch message SMBopenX (pid 787)
[2000/06/02 15:17:32, 3] lib/util.c:unix_clean_name(522)
   unix_clean_name [/FABERLAB/suse.iso]
[2000/06/02 15:17:32, 3] lib/util.c:unix_clean_name(522)
   unix_clean_name [FABERLAB/suse.iso]
[2000/06/02 15:17:32, 2] smbd/open.c:open_file(599)
   maurice opened file FABERLAB/suse.iso read=No write=Yes (numopen=1)
[2000/06/02 15:17:32, 3] locking/locking_shm.c:shm_set_share_mode(455)
   set_share_mode: Created share record for FABERLAB/suse.iso (dev 690 
inode 44818)
[2000/06/02 15:17:32, 3] locking/locking_shm.c:shm_set_share_mode(494)
   set_share_mode: Created share entry for FABERLAB/suse.iso with mode 
0x11 pid=787
[2000/06/02 15:17:32, 3] smbd/process.c:process_smb(618)
   Transaction 33 of length 52
[2000/06/02 15:17:32, 3] smbd/process.c:switch_message(448)
   switch message SMBwrite (pid 787)

-- 
--
Maurice Volaski, mvolaski at aecom.yu.edu
Computing Support, Rose F. Kennedy Center
Albert Einstein College of Medicine of Yeshiva University
-------------- next part --------------
HTML attachment scrubbed and removed


More information about the samba mailing list