From: Volker Lendecke Date: Tue, 17 Apr 2018 14:32:20 +0000 (+0200) Subject: dbwrap3: Call dbwrap_local_open with the correct tdb flags X-Git-Tag: ldb-1.4.0~551 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=91bb8b8ec6389f69608b6e2dcd09aca407ef05d2;p=thirdparty%2Fsamba.git dbwrap3: Call dbwrap_local_open with the correct tdb flags Signed-off-by: Volker Lendecke Reviewed-by: Jeremy Allison --- diff --git a/source3/lib/dbwrap/dbwrap_open.c b/source3/lib/dbwrap/dbwrap_open.c index d6c19e3d107..e05e011d0d4 100644 --- a/source3/lib/dbwrap/dbwrap_open.c +++ b/source3/lib/dbwrap/dbwrap_open.c @@ -186,6 +186,7 @@ struct db_context *db_open(TALLOC_CTX *mem_ctx, if (hash_size == 0) { hash_size = lpcfg_tdb_hash_size(lp_ctx, name); } + tdb_flags = lpcfg_tdb_flags(lp_ctx, tdb_flags); result = dbwrap_local_open(mem_ctx, lp_ctx, name, hash_size, tdb_flags, open_flags, mode,