use the new tdb_open_log() fn on connections database
authorAndrew Tridgell <tridge@samba.org>
Wed, 30 May 2001 06:08:23 +0000 (06:08 +0000)
committerAndrew Tridgell <tridge@samba.org>
Wed, 30 May 2001 06:08:23 +0000 (06:08 +0000)
(This used to be commit 68c0dcec3d3c17aae76ce093a601c9f452af5a0c)

source3/smbd/connection.c

index 16f6ba6afdaa0ebfd6484ef3118d682768ad1396..d3124e8d0c703b80a766cb860ae825baf0be7684 100644 (file)
@@ -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)