byte range locking

Jeremy Allison jeremy at
Wed Jan 12 18:30:53 GMT 2000

Andrew Tridgell wrote:
> The new lock system is based on a tdb database shared between all smbd
> processes. Once its in place I can start on removing some of those
> ugly hacks we needed with posix locks.

I don't think you can entirely remove all the hacks as we still
need to set POSIX lock ranges on the extents locked in Samba
(mangling as neccessary). 

In order to share data at all in a mixed Windows/UNIX
environment the SMB locks need to exist as best as possible
as POSIX locks also.


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