git.samba.org
/
amitay
/
samba.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
ded3f91
)
smbd: Allow another database between brlock.tdb and leases.tdb
author
Volker Lendecke
<vl@samba.org>
Sun, 15 Sep 2019 09:58:43 +0000
(11:58 +0200)
committer
Jeremy Allison
<jra@samba.org>
Tue, 17 Sep 2019 22:49:39 +0000
(22:49 +0000)
Signed-off-by: Volker Lendecke <vl@samba.org>
Reviewed-by: Jeremy Allison <jra@samba.org>
source3/locking/leases_db.c
patch
|
blob
|
history
diff --git
a/source3/locking/leases_db.c
b/source3/locking/leases_db.c
index b739d618c49579c40b1915ff2f57b0fc0e04f91d..19c5a612ecc71a1da842c56497a6713b033c4d41 100644
(file)
--- 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"));