tdb corruption with "use mmap=false"

MCCALL,DON (HP-USA,ex1) don_mccall at
Fri Sep 7 13:05:01 GMT 2001

Hi Jeremy,
You're right (again) ;->

-----Original Message-----
From: Jeremy Allison [mailto:jeremy at]
Sent: Friday, September 07, 2001 3:55 PM
Cc: 'jra at'; 'samba-technical at';
'reinout at'
Subject: Re: tdb corruption with "use mmap=false"

"MCCALL,DON (HP-USA,ex1)" wrote:
> Hi Jeremy,
> Thanks for the clarification.
> I guess what I'm concerned about is Lotus Notes, or other programs that
> 'cheating' if you will, and trying to use a byte range lock beyond the end
> of file at a specific position to 'communicate' something to other
> of the program.  If this is the case, then the 1st instance will think it
> has 'communicated', but when another instance does the same thing, and
> doesn't fail, will think it is able to do something to the file that it
> shouldn't be allowed to.

But if it's a Windows client to Windows client communication
then it'll work perfectly, as the brlock database (which is
not seen by the underlying OS and is internal to Samba) will take care of

Remember, the POSIX lock layer is only used to communicate
between Windows clients and UNIX clients. So if it's this
latter case, then there's no way the UNIX client can even
see locks < 2^^31-1 so the application would be broken already.


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

More information about the samba-technical mailing list