From 5694b3f736d21f706abc83e57abc41735f848233 Mon Sep 17 00:00:00 2001
From: Paolino Paperino <paperino@paperopoli.com>
Date: Thu, 30 Nov 2017 11:58:09 +0100
Subject: [PATCH] 2017-11-30:  FG;  Updated Samba recipe.

---
 web/support/kb/general/configureSamba.rst | 11 ++++++++++-
 1 file changed, 10 insertions(+), 1 deletion(-)

diff --git a/web/support/kb/general/configureSamba.rst b/web/support/kb/general/configureSamba.rst
index f6fa3ae9..0fb0c164 100644
--- a/web/support/kb/general/configureSamba.rst
+++ b/web/support/kb/general/configureSamba.rst
@@ -81,6 +81,11 @@ Create file `/etc/samba/smb.conf` with content similar to:
     server string = Samba Server test %v
     netbios name = server test
     security = user
+    ### NOTE: the following 4 lines assume we are the only Samba master ###
+    preferred master = yes
+    local master = yes
+    domain master = yes
+    os level = 65
     #
     # Restrict binding to networks or interfaces, adapt as appropriate
     interfaces = 127.0.0.0/8 eth1
@@ -110,7 +115,9 @@ Create file `/etc/samba/smb.conf` with content similar to:
     comment = Read-only FS
     valid users = smbrw, smbro
     read only = yes
-    
+    oplocks = False
+    level2 oplocks = False
+
     [dataout]
     path = /home/pathRW
     comment = Read-write FS
@@ -120,6 +127,8 @@ Create file `/etc/samba/smb.conf` with content similar to:
     read list = smbro
     directory mask = 0755
     create mask = 0644
+    oplocks = False
+    level2 oplocks = False
 
 If you really want some form of anonymous access, consider editing the section `Anonymous`
 in the example above.
-- 
GitLab