The second instance of Quickbooks shows a "file may be corrupt" message. 56310 DENY_NONE 0x2019f RDWR EXCLUSIVE+BATCH /MY_REALLY_LONG_PATH/My File.QBW Thu Mar 3 19:42:20 2005 56310 DENY_NONE 0x2019f RDWR EXCLUSIVE+BATCH / MY_REALLY_LONG_PATH/My File.QBI Thu Mar 3 19:42:20 2005 It works on Windows - just copied the same file to a network mapped windows drive - no problems - so what am I missing - is there a misconfig? Or something else. Not sure, but I think this might be the pertinent logs: [2005/03/03 19:49:53, 10] smbd/process.c:async_processing(281) async_processing: Doing async processing. [2005/03/03 19:49:53, 5] smbd/oplock.c:receive_local_message(107) receive_local_message: doing select with timeout of 1 ms [2005/03/03 19:49:53, 5] smbd/oplock.c:process_local_message(350) process_local_message: Got a message of length 18 from port (1817) [2005/03/03 19:49:53, 5] smbd/oplock.c:process_local_message(388) process_local_message: (exclusive) oplock break request from pid 5434, port 1817, dev = 40d04, inode = 1753087, file_id = 5269 [2005/03/03 19:49:53, 3] smbd/oplock.c:initial_break_processing(550) initial_break_processing: called for dev = 40d04, inode = 1753087 file_id = 5269 Current oplocks_open (exclusive = 6, levelII = 1) [2005/03/03 19:49:53, 6] lib/util_sock.c:write_socket(449) write_socket(24,55) [2005/03/03 19:49:53, 6] lib/util_sock.c:write_socket(452) write_socket(24,55) wrote 55 [2005/03/03 19:49:53, 3] smbd/sec_ctx.c:set_sec_ctx(288) setting sec ctx (0, 0) - sec_ctx_stack_ndx = 0 [2005/03/03 19:49:53, 5] auth/auth_util.c:debug_nt_user_token(486) NT user token: (NULL) [2005/03/03 19:49:53, 5] auth/auth_util.c:debug_unix_user_token(507) UNIX token of user 0 Primary group is 0 and contains 0 supplementary groups Thanks! m/
I had to add these to the share to get that working properly. I've probably added some stuff that's not needed, but it worked, so I left it. I think the oplocks setting is key though. create mask = 0777 force create mode = 0777 oplocks = no force directory security mode = 0777 Mitch (WebCob) wrote:> The second instance of Quickbooks shows a "file may be corrupt" message. >
I had to use the 'veto oplocks' option since I wanted oplocks for everything else on the share. QB works, but nothing else can even read the file. I get a 'Resource Deadlock Avoided' error on smbclient. 'smbstatus' reports a DENY_NONE lock, and an access mode of 0x2019f. I couldn't find the significance of this anywhere. Point to note is that the same setup worked fine without any hitches or errors on Samba 2.2.8. This problem only surfaced when I upgraded to 3.0.11. -----Original Message----- From: samba-bounces+ayusuf=greaterthanone.com@lists.samba.org [mailto:samba-bounces+ayusuf=greaterthanone.com@lists.samba.org]On Behalf Of Randy S Sent: Thursday, March 03, 2005 3:01 PM To: Mitch (WebCob) Cc: samba@lists.samba.org Subject: Re: [Samba] Quickbooks files can't be shared w/ 3.0.11 I had to add these to the share to get that working properly. I've probably added some stuff that's not needed, but it worked, so I left it. I think the oplocks setting is key though. create mask = 0777 force create mode = 0777 oplocks = no force directory security mode = 0777 Mitch (WebCob) wrote:> The second instance of Quickbooks shows a "file may be corrupt" message. >-- To unsubscribe from this list go to the following URL and read the instructions: https://lists.samba.org/mailman/listinfo/samba
> I tried: > veto oplocks = /*.QBW/*.QBI/ > AND > veto oplocks = /*.QBW/ >[Mitch says:] ok - and that's evidence that I need more sleep... The CORRECT statement is: veto oplock files = /*.QBW/*.QBI/ It works ok. Can someone confirm something for me? This doesn't prevent LOCKING - right? Just opportunistic locking? Seeing the files sitting there looking unlocked makes me nervous - seems to work though.>From seeing some other notes, adding /*.mdb/ might be a good idea too.Performance ponderance - is it better to say MDB or mdb? The files seem to be named MDB / QBW - not sure if the real file is lower cased for comparison, or if both sides are uppercased as nessecary (in which case I save a step using the uppercase form.... thanks for the help!!! m/