[Samba] Leased Based Locking

Volker Lendecke Volker.Lendecke at SerNet.DE
Wed Sep 20 16:23:00 GMT 2006

On Wed, Sep 20, 2006 at 12:02:13PM -0400, John G Harney wrote:
> I am at a client site and I am wondering if SAMBA supports the lease-based
> exclusive locking protocol.
> Does anyone have any info on that?

Do you have a bit more info about what you *exactly* mean by
"lease based exclusive locking protocol"? 

Samba fully supports share modes (exclusive locks at open
time), oplocks (permissions to cache data) and Windows byte
range locks. Where possible we try our best to communicate
those to the underlying posix, but this is very limited.

The client always sees the Windows (CIFS) semantics as far
as we know it, which we believe is quite complete.

> I know that SAMBA is using CIFS (SMB) under the covers. CIFS supports
> lease-based exclusive locking protocol
> as far as I know.
> SAMBA is mounting an AIX file system and My Win2K3 servers need to hit it
> with lease-based exclusive locking protocol
> for transaction fail-over.

We need more info about what you exactly mean.

-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: not available
Url : http://lists.samba.org/archive/samba/attachments/20060920/ec45f3f0/attachment.bin

More information about the samba mailing list