From 71e2f7d2604932805762a841318cacc54cbc0b1c Mon Sep 17 00:00:00 2001 From: Stefan Metzmacher Date: Thu, 27 Mar 2008 10:11:48 +0100 Subject: opendb_tdb: enable oplocks per default metze (This used to be commit 225a9852eeee66f22a4135a660f18b70666c1c5f) --- source4/ntvfs/common/opendb_tdb.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/source4/ntvfs/common/opendb_tdb.c b/source4/ntvfs/common/opendb_tdb.c index be78e09958..fc05b342a8 100644 --- a/source4/ntvfs/common/opendb_tdb.c +++ b/source4/ntvfs/common/opendb_tdb.c @@ -102,7 +102,7 @@ static struct odb_context *odb_tdb_init(TALLOC_CTX *mem_ctx, odb->ntvfs_ctx = ntvfs_ctx; /* leave oplocks disabled by default until the code is working */ - odb->oplocks = lp_parm_bool(ntvfs_ctx->lp_ctx, NULL, "opendb", "oplocks", false); + odb->oplocks = lp_parm_bool(ntvfs_ctx->lp_ctx, NULL, "opendb", "oplocks", true); odb->lease_ctx = sys_lease_context_create(ntvfs_ctx->config, odb, ntvfs_ctx->event_ctx, -- cgit From 2c9ee20f15ef0f55bf4e2516ba498cc6d9403b71 Mon Sep 17 00:00:00 2001 From: Stefan Metzmacher Date: Thu, 27 Mar 2008 10:12:19 +0100 Subject: selfteset: oplocks are enabled by default now metze (This used to be commit 9342c4f5ff2be16c9771fd07fbec87076af2e681) --- source4/selftest/target/Samba4.pm | 3 --- 1 file changed, 3 deletions(-) diff --git a/source4/selftest/target/Samba4.pm b/source4/selftest/target/Samba4.pm index 416a376f68..262c8035f6 100644 --- a/source4/selftest/target/Samba4.pm +++ b/source4/selftest/target/Samba4.pm @@ -577,9 +577,6 @@ sub provision($$$$$$) gensec:require_pac = true log level = $smbd_loglevel - # this is a global option - opendb:oplocks = yes - [tmp] path = $tmpdir read only = no -- cgit