summaryrefslogtreecommitdiffstats
path: root/source3/param/loadparm.c
diff options
context:
space:
mode:
authorChristian Ambach <ambi@samba.org>2012-04-16 17:37:17 +0200
committerChristian Ambach <ambi@samba.org>2012-04-16 21:28:36 +0200
commitd642afa7f16ba481ae89278ca00c01357c0b8c45 (patch)
tree7066726599063323445d72c7d4e5d96ff62f1d50 /source3/param/loadparm.c
parenta8e9242a1042582f77b1b61f7b17dc94a9065189 (diff)
downloadsamba-d642afa7f16ba481ae89278ca00c01357c0b8c45.tar.gz
samba-d642afa7f16ba481ae89278ca00c01357c0b8c45.tar.xz
samba-d642afa7f16ba481ae89278ca00c01357c0b8c45.zip
s3: switch off kernel oplocks by default
as discussed on samba-technical, turn kernel oplocks off by default to not leave users without the benefits of Level II oplocks
Diffstat (limited to 'source3/param/loadparm.c')
-rw-r--r--source3/param/loadparm.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/source3/param/loadparm.c b/source3/param/loadparm.c
index 2fa70db1c9..dbf47c0320 100644
--- a/source3/param/loadparm.c
+++ b/source3/param/loadparm.c
@@ -230,7 +230,7 @@ static struct loadparm_service sDefault =
.bPosixLocking = true,
.bShareModes = true,
.bOpLocks = true,
- .bKernelOplocks = true,
+ .bKernelOplocks = false,
.bLevel2OpLocks = true,
.bOnlyUser = false,
.bMangledNames = true,