From 5237500c736e9dcef05421e0b9234a51cb459625 Mon Sep 17 00:00:00 2001 From: Andrew Tridgell Date: Wed, 30 May 2001 06:08:23 +0000 Subject: [PATCH] use the new tdb_open_log() fn on connections database (This used to be commit 68c0dcec3d3c17aae76ce093a601c9f452af5a0c) --- source3/smbd/connection.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/source3/smbd/connection.c b/source3/smbd/connection.c index 16f6ba6afda..d3124e8d0c7 100644 --- a/source3/smbd/connection.c +++ b/source3/smbd/connection.c @@ -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)