diff options
author | Andrew Tridgell <tridge@samba.org> | 2001-05-30 06:08:23 +0000 |
---|---|---|
committer | Andrew Tridgell <tridge@samba.org> | 2001-05-30 06:08:23 +0000 |
commit | 68c0dcec3d3c17aae76ce093a601c9f452af5a0c (patch) | |
tree | 2eb0d074d3428021fc4731cadc3a6ea47648c973 | |
parent | 6e1277df9d964c615a3ad876d3b89ff8132081c1 (diff) | |
download | samba-68c0dcec3d3c17aae76ce093a601c9f452af5a0c.tar.gz samba-68c0dcec3d3c17aae76ce093a601c9f452af5a0c.tar.xz samba-68c0dcec3d3c17aae76ce093a601c9f452af5a0c.zip |
use the new tdb_open_log() fn on connections database
-rw-r--r-- | source/smbd/connection.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/source/smbd/connection.c b/source/smbd/connection.c index 16f6ba6afda..d3124e8d0c7 100644 --- a/source/smbd/connection.c +++ b/source/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) |