mirror of
https://github.com/samba-team/samba.git
synced 2024-12-24 21:34:56 +03:00
use the new tdb_open_log() fn on connections database
(This used to be commit 68c0dcec3d
)
This commit is contained in:
parent
9848c067c0
commit
5237500c73
@ -115,7 +115,7 @@ BOOL claim_connection(connection_struct *conn,char *name,int max_connections,BOO
|
||||
BOOL ret = True;
|
||||
|
||||
if (!tdb) {
|
||||
tdb = tdb_open(lock_path("connections.tdb"), 0, TDB_CLEAR_IF_FIRST,
|
||||
tdb = tdb_open_log(lock_path("connections.tdb"), 0, TDB_CLEAR_IF_FIRST,
|
||||
O_RDWR | O_CREAT, 0644);
|
||||
}
|
||||
if (!tdb)
|
||||
|
Loading…
Reference in New Issue
Block a user