summaryrefslogtreecommitdiffstats
path: root/source/smbd/connection.c
diff options
context:
space:
mode:
authorJeremy Allison <jra@samba.org>2000-12-15 01:02:11 +0000
committerJeremy Allison <jra@samba.org>2000-12-15 01:02:11 +0000
commit0a40bc83e14c69a09948ec09bb6fc5026c4f4c14 (patch)
tree6b612c5cc6eb267ff0da19c0779ae9765e41f8a3 /source/smbd/connection.c
parent505a8a2277f2bc761bd2b170fafbcb3afd982d92 (diff)
downloadsamba-0a40bc83e14c69a09948ec09bb6fc5026c4f4c14.tar.gz
samba-0a40bc83e14c69a09948ec09bb6fc5026c4f4c14.tar.xz
samba-0a40bc83e14c69a09948ec09bb6fc5026c4f4c14.zip
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.
Diffstat (limited to 'source/smbd/connection.c')
-rw-r--r--source/smbd/connection.c9
1 files changed, 9 insertions, 0 deletions
diff --git a/source/smbd/connection.c b/source/smbd/connection.c
index cf455c0a8b8..d150508cefb 100644
--- a/source/smbd/connection.c
+++ b/source/smbd/connection.c
@@ -33,6 +33,15 @@ static void utmp_claim(const struct connections_data *crec, const connection_str
#endif
/****************************************************************************
+ Return the connection tdb context (used for message send all).
+****************************************************************************/
+
+TDB_CONTEXT *conn_tdb_ctx(void)
+{
+ return tdb;
+}
+
+/****************************************************************************
delete a connection record
****************************************************************************/
BOOL yield_connection(connection_struct *conn,char *name,int max_connections)