The branch, v4-0-test has been updated
       via  9342c4f5ff2be16c9771fd07fbec87076af2e681 (commit)
       via  225a9852eeee66f22a4135a660f18b70666c1c5f (commit)
      from  990476261c16f2f7044d88f99e4983f559a637f8 (commit)

http://gitweb.samba.org/?p=samba.git;a=shortlog;h=v4-0-test


- Log -----------------------------------------------------------------
commit 9342c4f5ff2be16c9771fd07fbec87076af2e681
Author: Stefan Metzmacher <[EMAIL PROTECTED]>
Date:   Thu Mar 27 10:12:19 2008 +0100

    selfteset: oplocks are enabled by default now
    
    metze

commit 225a9852eeee66f22a4135a660f18b70666c1c5f
Author: Stefan Metzmacher <[EMAIL PROTECTED]>
Date:   Thu Mar 27 10:11:48 2008 +0100

    opendb_tdb: enable oplocks per default
    
    metze

-----------------------------------------------------------------------

Summary of changes:
 source/ntvfs/common/opendb_tdb.c |    2 +-
 source/selftest/target/Samba4.pm |    3 ---
 2 files changed, 1 insertions(+), 4 deletions(-)


Changeset truncated at 500 lines:

diff --git a/source/ntvfs/common/opendb_tdb.c b/source/ntvfs/common/opendb_tdb.c
index be78e09..fc05b34 100644
--- a/source/ntvfs/common/opendb_tdb.c
+++ b/source/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,
diff --git a/source/selftest/target/Samba4.pm b/source/selftest/target/Samba4.pm
index 416a376..262c803 100644
--- a/source/selftest/target/Samba4.pm
+++ b/source/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


-- 
Samba Shared Repository

Reply via email to