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 | 5237500c736e9dcef05421e0b9234a51cb459625 (patch) | |
tree | b1b00a80726e180ca257c2d5e7d409dbb290b474 /source3 | |
parent | 9848c067c096f284ee43d7e8c3f9678672728318 (diff) | |
download | samba-5237500c736e9dcef05421e0b9234a51cb459625.tar.gz samba-5237500c736e9dcef05421e0b9234a51cb459625.tar.xz samba-5237500c736e9dcef05421e0b9234a51cb459625.zip |
use the new tdb_open_log() fn on connections database
(This used to be commit 68c0dcec3d3c17aae76ce093a601c9f452af5a0c)
Diffstat (limited to 'source3')
-rw-r--r-- | source3/smbd/connection.c | 2 |
1 files changed, 1 insertions, 1 deletions
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) |