Simultaneous File Shares with NT4

Mike Weller test3 at zyvex.com
Wed Dec 13 02:06:04 GMT 2000


I was reading some discussions from the samba mailing list archives.
I am having a problem, and I was wondering if anyone could help me.
I moved our Quickbooks database from a Windows server to a Linux
box with Samba2.07-3.  

I experience the exact same problem mentioned in the archives here by
Glenn MacGregor back in September, 2000:

"I have three users on quickbooks, one with win95, one with
win98 and the other with nt.  If someone with either 95 or 98 opens the file
first the nt user can't get in, but the other 95/98 user can.  If the nt user
opens the file first everything is fine.  Kind of weird."

I determined that Windows 95,98,millenium and 2000 can share the file
just fine (simultaneously).  It's only Windows NT 4.  I applied SP6a
just to be sure.

smbstatus shows RDONLY only for the NT4 machine (unless it's the first
client to open the file).  The non-NT4 machines show RDWR and also
open up the .qbI file (must be the 2nd step).

21297  DENY_NONE  RDWR       NONE             /usr/local/samba/business/Accounting/Zyvex2000.qbI   Tue Dec 12 14:32:21 2000
21284  DENY_NONE  RDWR       NONE             /usr/local/samba/business/Accounting/Zyvex2000.qbI   Tue Dec 12 14:32:03 2000
21324  DENY_NONE  RDONLY     NONE             /usr/local/samba/business/Accounting/Zyvex2000.qbw   Tue Dec 12 14:32:40 2000
21297  DENY_NONE  RDWR       NONE             /usr/local/samba/business/Accounting/Zyvex2000.qbw   Tue Dec 12 14:32:19 2000
21284  DENY_NONE  RDWR       NONE             /usr/local/samba/business/Accounting/Zyvex2000.qbw   Tue Dec 12 14:32:07 2000


I added "oplocks = no" first under [global], then under the [share]
(i stopped and restarted samba for the change to take effect). That
didn't help.

Any ideas?  I'm wondering if this is a bug in NT4 or samba.  The
problem goes away if i don't use samba, or if i don't use NT4.  Since
this didnt happen with the windows server, then i can only assume that
samba doesn't perfectly mimic smb.  What would cause NT4 to lock the
file as readonly (which it's not), whereas the other OS's make it
RDWR?

Thanks.

-- 
Michael J. Weller, M.Sc.               office: (972) 235-7881 x.242
weller at zyvex.com                         cell: (214) 616-6340
Zyvex Corp.                         facsimile: (972) 235-7882    
1321 N Plano                          evening: (214) 378-8431 (Dallas)
Richardson, TX 75081                      icq: 6180540





More information about the samba mailing list