From 369f5fd1d7a6e6298bc3cbe01e3aaed0106f6cf4 Mon Sep 17 00:00:00 2001 From: Jeremy Allison Date: Fri, 15 Dec 2000 01:02:11 +0000 Subject: Fixed memory leaks in lsa_XX calls. Fixed memory leaks in smbcacls. Merged in fixes from appliance-head and 2.2. Fixed multiple connection.tdb open problem. Jeremy. (This used to be commit 0a40bc83e14c69a09948ec09bb6fc5026c4f4c14) --- source3/smbd/connection.c | 9 +++++++++ 1 file changed, 9 insertions(+) (limited to 'source3/smbd') diff --git a/source3/smbd/connection.c b/source3/smbd/connection.c index cf455c0a8b..d150508cef 100644 --- a/source3/smbd/connection.c +++ b/source3/smbd/connection.c @@ -32,6 +32,15 @@ static void utmp_yield(pid_t pid, const connection_struct *conn); static void utmp_claim(const struct connections_data *crec, const connection_struct *conn); #endif +/**************************************************************************** + Return the connection tdb context (used for message send all). +****************************************************************************/ + +TDB_CONTEXT *conn_tdb_ctx(void) +{ + return tdb; +} + /**************************************************************************** delete a connection record ****************************************************************************/ -- cgit