diff options
author | Gerald Carter <jerry@samba.org> | 2004-02-12 05:59:03 +0000 |
---|---|---|
committer | Gerald Carter <jerry@samba.org> | 2004-02-12 05:59:03 +0000 |
commit | 30d707b8ae4c53140e0215090f7a3c8936ab2b47 (patch) | |
tree | 33884a5c06762f63e28e4f39ff5aaba03cbcbc1e /source3/smbd/connection.c | |
parent | ed1862b3b21d1cbe4a013838bf5c581c600657c2 (diff) | |
download | samba-30d707b8ae4c53140e0215090f7a3c8936ab2b47.tar.gz samba-30d707b8ae4c53140e0215090f7a3c8936ab2b47.tar.bz2 samba-30d707b8ae4c53140e0215090f7a3c8936ab2b47.zip |
tdbsam & smb_panic merge from 3.0 (initial tests are ok but I'll setup a HEAD PDC tomorrow)
(This used to be commit c57b24ee49aee0f0687742da7f8d741c62f6effe)
Diffstat (limited to 'source3/smbd/connection.c')
-rw-r--r-- | source3/smbd/connection.c | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/source3/smbd/connection.c b/source3/smbd/connection.c index 5bb76eb3bd..a9ab142461 100644 --- a/source3/smbd/connection.c +++ b/source3/smbd/connection.c @@ -29,8 +29,8 @@ static TDB_CONTEXT *tdb; TDB_CONTEXT *conn_tdb_ctx(void) { if (!tdb) - tdb = tdb_open_log(lock_path("connections.tdb"), 0, TDB_CLEAR_IF_FIRST|TDB_DEFAULT, - O_RDWR | O_CREAT, 0644); + tdb = tdb_open_ex(lock_path("connections.tdb"), 0, TDB_CLEAR_IF_FIRST|TDB_DEFAULT, + O_RDWR | O_CREAT, 0644, smbd_tdb_log); return tdb; } @@ -131,8 +131,8 @@ BOOL claim_connection(connection_struct *conn, const char *name,int max_connecti TDB_DATA kbuf, dbuf; if (!tdb) - tdb = tdb_open_log(lock_path("connections.tdb"), 0, TDB_CLEAR_IF_FIRST|TDB_DEFAULT, - O_RDWR | O_CREAT, 0644); + tdb = tdb_open_ex(lock_path("connections.tdb"), 0, TDB_CLEAR_IF_FIRST|TDB_DEFAULT, + O_RDWR | O_CREAT, 0644, smbd_tdb_log); if (!tdb) return False; |