[PATCHES] SMB3 lock sequence (replay detection)

Stefan Metzmacher metze at samba.org
Tue Sep 18 14:31:41 UTC 2018

Hi Michael,

thanks for driving this forward again!

I'd like to see a few minor changes before this goes upstream.

- Can we have an additional test the requires SMB3
  and tries to open a persistent handle, but allows a fallback
  just a durable handle?

- Please only activate this when "server multi channel support" is
  activated for now.


Am 18.09.2018 um 10:23 schrieb Michael Adam via samba-technical:
> Hi all,
> reviving this slightly older topic:
> SMB2.1 (for resilient file handles) and SMB3.X implement
> the so called lock sequence number and based on that,
> the lock replay detection in the server.
> This was done as part of the original efforts of
> implementing multi-channel, and is now popping up
> again as we are cleaning up the remaining bits and
> finishing up the last parts of multi-channel.
> The patches were originally not merged because
> windows activates them only for resilient or
> persistent file hanldes, but as Guenther points
> out in one of his patches, the SMB2 doc actually
> says, the server SHOULD actually implement them
> for all of smb 3.x.
> Hence re-proposing this patcheset to be merged
> to prevent bit-rot and have the feature ready
> and useable in the official samba master.
> Cheers - Michael

-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 833 bytes
Desc: OpenPGP digital signature
URL: <http://lists.samba.org/pipermail/samba-technical/attachments/20180918/e50adc39/signature.sig>

More information about the samba-technical mailing list