[Fwd: [Samba] problem writing files]

Henrik Zagerholm henke at mac.se
Thu Mar 15 07:42:42 GMT 2007


It would help if you stated the exact version of samba on the both  
machines.
smbd --version

cheers,
henrik

14 mar 2007 kl. 15:47 skrev Doug Tucker:

> Nobody?
>
> -------- Forwarded Message --------
>> From: Doug Tucker <tuckerd at engr.smu.edu>
>> To: samba at lists.samba.org
>> Subject: [Samba] problem writing files
>> Date: Mon, 12 Mar 2007 09:54:27 -0500
>>
>> I have 2 samba servers, both joined and authenticating against  
>> AD.  One
>> is a redhat box with the stock latest up2date rpm, the 2nd, and
>> problematic one, is a debian with the latest .deb in the sarge tree.
>> The first one works flawlessly, the 2nd one, anytime a windows user
>> tries to write a file, it denies them access and this is in the logs:
>>
>> [2007/03/12 09:27:48, 3] smbd/process.c:switch_message(914)
>>   switch message SMBntcreateX (pid 2854) conn 0x847f7b8
>> [2007/03/12 09:27:48, 3] smbd/msdfs.c:dfs_redirect(435)
>>   dfs_redirect: Not redirecting
>> cifs4/gary/purchase/Misc/PR-cdw2-sample1.xls.
>> [2007/03/12 09:27:48, 3] smbd/msdfs.c:dfs_redirect(439)
>>   dfs_redirect: Path converted to non-dfs path
>> purchase/Misc/PR-cdw2-sample1.xls
>> [2007/03/12 09:27:48, 3] smbd/dosmode.c:unix_mode(147)
>>   unix_mode(purchase/Misc/PR-cdw2-sample1.xls) returning 0744
>> [2007/03/12 09:27:48, 2] smbd/open.c:open_file(352)
>>   gary opened file purchase/Misc/PR-cdw2-sample1.xls read=No  
>> write=Yes
>> (numopen=3)
>> [2007/03/12 09:27:48, 3]
>> smbd/oplock_linux.c:linux_set_kernel_oplock(162)
>>   linux_set_kernel_oplock: Refused oplock on file
>> purchase/Misc/PR-cdw2-sample1.xls, fd = 29, dev = 57, inode = 28709.
>> (Resource temporarily unavailable)
>> [2007/03/12 09:27:48, 3] smbd/process.c:process_smb(1110)
>>   Transaction 5093 of length 76[2007/03/12 09:27:51, 3]
>> smbd/msdfs.c:dfs_redirect(435)
>>   dfs_redirect: Not redirecting
>> cifs4/gary/purchase/Misc/PR-cdw2-sample.xls.
>> [2007/03/12 09:27:51, 3] smbd/msdfs.c:dfs_redirect(439)
>>   dfs_redirect: Path converted to non-dfs path
>> purchase/Misc/PR-cdw2-sample.xls
>> [2007/03/12 09:27:51, 3] smbd/dir.c:dptr_create(512)
>>   creating new dirptr 256 for path purchase/Misc, expect_close = 1
>> [2007/03/12 09:27:51, 3] smbd/error.c:error_packet(146)
>>   error packet at smbd/trans2.c(1844) cmd=50 (SMBtrans2)
>> NT_STATUS_NO_SUCH_FILE
>> [2007/03/12 09:27:51, 3] smbd/process.c:process_smb(1110)
>>   Transaction 5165 of length 174
>> [2007/03/12 09:27:51, 3] smbd/process.c:switch_message(914)
>>   switch message SMBtrans2 (pid 2854) conn 0x847f7b8
>> [2007/03/12 09:27:51, 3] smbd/trans2.c:call_trans2findfirst(1662)
>>   call_trans2findfirst: dirtype = 16, maxentries = 1366,
>> close_after_first=1, close_if_end = 2 requires_resume_key = 4 level =
>> 0x104, max_data_bytes = 16384
>> [2007/03/12 09:27:51, 3] smbd/msdfs.c:dfs_redirect(435)
>>   dfs_redirect: Not redirecting
>> cifs4/gary/purchase/Misc/PR-cdw2-sample.xls.
>> [2007/03/12 09:27:51, 3] smbd/msdfs.c:dfs_redirect(439)
>>   dfs_redirect: Path converted to non-dfs path
>> purchase/Misc/PR-cdw2-sample.xls
>> [2007/03/12 09:27:51, 3] smbd/dir.c:dptr_create(512)
>>   creating new dirptr 256 for path purchase/Misc, expect_close = 1
>> [2007/03/12 09:27:51, 3] smbd/error.c:error_packet(146)
>>
>> [2007/03/12 09:27:48, 3] smbd/process.c:switch_message(914)
>>   switch message SMBtrans2 (pid 2854) conn 0x847f7b8
>> [2007/03/12 09:27:48, 3] smbd/trans2.c:call_trans2qfilepathinfo(2852)
>>   call_trans2qfilepathinfo: TRANSACT2_QFILEINFO: level = 1005
>> [2007/03/12 09:27:48, 3] smbd/trans2.c:call_trans2qfilepathinfo(2959)
>>   call_trans2qfilepathinfo purchase/Misc/PR-cdw2-sample1.xls (fnum =
>> 10880) level=1005 call=7 total_data=0
>> [2007/03/12 09:27:48, 3] smbd/process.c:process_smb(1110)
>>   Transaction 5094 of length 45
>> [2007/03/12 09:27:48, 3] smbd/process.c:switch_message(914)
>>   switch message SMBclose (pid 2854) conn 0x847f7b8
>> [2007/03/12 09:27:48, 3] smbd/reply.c:reply_close(3312)
>>   close fd=29 fnum=10880 (numopen=3)
>>
>>
>> However, mounting the smb volume from a linux client, the user can
>> read/write just fine to the same server.  Anyone have any ideas on  
>> this?
>> Thanks in advance for the assistance.
>>
>> Sincerely,
>>
>> Doug
>>
>
> -- 
> To unsubscribe from this list go to the following URL and read the
> instructions:  https://lists.samba.org/mailman/listinfo/samba



More information about the samba mailing list