don't close the database after each claim_connection()
authorAndrew Tridgell <tridge@samba.org>
Mon, 3 Jan 2000 00:22:43 +0000 (00:22 +0000)
committerAndrew Tridgell <tridge@samba.org>
Mon, 3 Jan 2000 00:22:43 +0000 (00:22 +0000)
source/smbd/connection.c

index 13c051a5a3643ae0fe3e0d023f41ba927adbd5f5..82f789f7a1a0d947ef3dffe85c9ecf1232db2f48 100644 (file)
@@ -102,7 +102,5 @@ BOOL claim_connection(connection_struct *conn,char *name,int max_connections,BOO
 
        if (tdb_store(tdb, kbuf, dbuf, TDB_REPLACE) != 0) return False;
 
-       tdb_close(tdb);
-
        return True;
 }