[PATCH] smbd: Enable leases by default

Ralph Böhme slow at samba.org
Thu Jul 21 05:34:51 UTC 2016


On Wed, Jul 20, 2016 at 10:49:04PM +0200, Volker Lendecke wrote:
> On Wed, Jul 20, 2016 at 10:38:06PM +0200, Ralph Böhme wrote:
> > attached. Please review&push if ok together with Volker's original
> > patch.
> 
> One typo, feautre vs feature, and we need to list the changed
> parameter I believe.

updated patch attached.

Cheerio!
-slow
-------------- next part --------------
From 70228d36903bd4bdf3eab46ed1787dc265fb9cd9 Mon Sep 17 00:00:00 2001
From: Ralph Boehme <slow at samba.org>
Date: Wed, 20 Jul 2016 22:32:05 +0200
Subject: [PATCH] WHATSNEW: SMB 2.1 leases enabled by default

Signed-off-by: Ralph Boehme <slow at samba.org>
---
 WHATSNEW.txt | 9 +++++++++
 1 file changed, 9 insertions(+)

diff --git a/WHATSNEW.txt b/WHATSNEW.txt
index 91f545d..e7f4206 100644
--- a/WHATSNEW.txt
+++ b/WHATSNEW.txt
@@ -25,6 +25,14 @@ The ldap server has support for the LDAP_SERVER_NOTIFICATION_OID
 control. This can be used to monitor the active directory database
 for changes.
 
+SMB 2.1 Leases enabled by default
+---------------------------------
+
+Leasing is an SMB 2.1 (and higher) feature which allows clients to
+aggressively cache files locally above and beyond the caching allowed
+by SMB 1 oplocks. This feature was disabled in previous releases, but
+the SMB2 leasing code is now considered mature and stable enough to be
+enabled by default.
 
 REMOVED FEATURES
 ================
@@ -41,6 +49,7 @@ smb.conf changes
   --------------		-----------		-------
   only user			Removed
   username			Removed
+  smb2 leases			Changed	default		yes
 
 KNOWN ISSUES
 ============
-- 
2.7.4



More information about the samba-technical mailing list