mirror of
https://github.com/samba-team/samba.git
synced 2025-02-26 21:57:41 +03:00
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>
This commit is contained in:
parent
ded3f91d80
commit
72ac1764d6
@ -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"));
|
||||
|
Loading…
x
Reference in New Issue
Block a user