From: Volker Lendecke Date: Sun, 15 Sep 2019 09:58:43 +0000 (+0200) Subject: smbd: Allow another database between brlock.tdb and leases.tdb X-Git-Tag: talloc-2.3.1~779 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=72ac1764d69e165052220f2c1b5bc0d5613ef201;p=thirdparty%2Fsamba.git smbd: Allow another database between brlock.tdb and leases.tdb Signed-off-by: Volker Lendecke Reviewed-by: Jeremy Allison --- diff --git a/source3/locking/leases_db.c b/source3/locking/leases_db.c index b739d618c49..19c5a612ecc 100644 --- a/source3/locking/leases_db.c +++ b/source3/locking/leases_db.c @@ -53,7 +53,7 @@ bool leases_db_init(bool read_only) TDB_SEQNUM| TDB_INCOMPATIBLE_HASH, read_only ? O_RDONLY : O_RDWR|O_CREAT, 0644, - DBWRAP_LOCK_ORDER_2, DBWRAP_FLAG_NONE); + DBWRAP_LOCK_ORDER_4, DBWRAP_FLAG_NONE); TALLOC_FREE(db_path); if (leases_db == NULL) { DEBUG(1, ("ERROR: Failed to initialise leases database\n"));