summaryrefslogtreecommitdiff
path: root/source4
diff options
context:
space:
mode:
authorAndrew Bartlett <abartlet@samba.org>2008-03-28 10:18:06 +1100
committerAndrew Bartlett <abartlet@samba.org>2008-03-28 10:18:06 +1100
commitb422a78df24201392232df10cf6a1ca1a522807e (patch)
tree2a914ad7f7042369a7e8576201da63a34a2bf605 /source4
parentd554590d336cd49e08b518811934d5fa61a47fd5 (diff)
downloadsamba-b422a78df24201392232df10cf6a1ca1a522807e.tar.gz
samba-b422a78df24201392232df10cf6a1ca1a522807e.tar.bz2
samba-b422a78df24201392232df10cf6a1ca1a522807e.zip
Fix 'oplocks' in loadparm.
I forgot one more place where I must specify the new config option. I wish this was more templated... Andrew Bartlett (This used to be commit 5a740f4daa79cf1b5fc9f24e424ae50e10932f4b)
Diffstat (limited to 'source4')
-rw-r--r--source4/param/loadparm.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/source4/param/loadparm.c b/source4/param/loadparm.c
index 94f4033352..812162e170 100644
--- a/source4/param/loadparm.c
+++ b/source4/param/loadparm.c
@@ -458,6 +458,7 @@ static struct parm_struct parm_table[] = {
{"csc policy", P_ENUM, P_LOCAL, LOCAL_VAR(iCSCPolicy), NULL, enum_csc_policy},
{"strict locking", P_BOOL, P_LOCAL, LOCAL_VAR(bStrictLocking), NULL, NULL},
+ {"oplocks", P_BOOL, P_LOCAL, LOCAL_VAR(bOplocks), NULL, NULL},
{"share backend", P_STRING, P_GLOBAL, GLOBAL_VAR(szShareBackend), NULL, NULL},
{"preload", P_STRING, P_GLOBAL, GLOBAL_VAR(szAutoServices), NULL, NULL},