diff options
author | Volker Lendecke <vl@samba.org> | 2019-09-15 11:58:43 +0200 |
---|---|---|
committer | Jeremy Allison <jra@samba.org> | 2019-09-17 22:49:39 +0000 |
commit | 72ac1764d69e165052220f2c1b5bc0d5613ef201 (patch) | |
tree | 6fbfa4a2b772101144cad36e07d2e4f84c926d77 /source3/locking/leases_db.c | |
parent | ded3f91d80763edfab242a48baa834e669e16ed5 (diff) | |
download | samba-72ac1764d69e165052220f2c1b5bc0d5613ef201.tar.gz |
smbd: Allow another database between brlock.tdb and leases.tdb
Signed-off-by: Volker Lendecke <vl@samba.org>
Reviewed-by: Jeremy Allison <jra@samba.org>
Diffstat (limited to 'source3/locking/leases_db.c')
-rw-r--r-- | source3/locking/leases_db.c | 2 |
1 files changed, 1 insertions, 1 deletions
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")); |