Weirdness: MS Access Files on Samba NT Dom

Jeremy Allison jallison at
Tue Apr 27 01:19:54 GMT 1999

Todd Stiers wrote:
> Hi,
> This is the latest update. I get MS Access to get this far (up from a
> blank MS Access
> Screen)
> The message:
> ! The Microsoft Jet database engine cannot open the file ". It is
> already opened
> exclusively by another user, or you need permission to view its data.

Are you using a 32 bit system (such as Linux) or
versions of Solaris earlier than 2.7 ?

If so then I have just added some code to Samba 2.0.4
to get around this problem (which is actually an
NT bug).

The problem is that NT clients insist on sending 64 bit lock
ranges to 32 bit systems, despite smbd on a 32 bit
system correctly setting the "I don't support 64
bit file access" bit in the negotiated capabilities.

I have added a parameter "mangle locks" that tries
to map these locks into valid POSIX 31-bit locks
(all that a 32 bit system can support via the POSIX
spec.) and am looking for someone who has anonymous CVS
access (check out the SAMBA_2_0 branch) to test this.

If you're on a 64 bit platform (IRIX, Solaris 2.7 etc.)
then this isn't the problem.


	Jeremy Allison,
	Samba Team.

Buying an operating system without source is like buying
a self-assembly Space Shuttle with no instructions.

More information about the samba-ntdom mailing list