summaryrefslogtreecommitdiff
path: root/source4/smb_server
diff options
context:
space:
mode:
authorAndrew Tridgell <tridge@samba.org>2005-07-10 01:08:10 +0000
committerGerald (Jerry) Carter <jerry@samba.org>2007-10-10 13:19:29 -0500
commitc6881d1e650fd284a366af76f5a214a5de05cc0c (patch)
treeb41216f1b76579b9f0d455825bc8b55ff549e8d7 /source4/smb_server
parent001dc40ecd76bb7ea0e3d2a043bab42c9ba7c780 (diff)
downloadsamba-c6881d1e650fd284a366af76f5a214a5de05cc0c.tar.gz
samba-c6881d1e650fd284a366af76f5a214a5de05cc0c.tar.bz2
samba-c6881d1e650fd284a366af76f5a214a5de05cc0c.zip
r8272: added the hooks for adding a name to a messaging context, so we will
be able to send a message to the "ldap_server" task without having to know its task ID. (This used to be commit 8f69867867857e0c9a9246c2dec9612ccc234724)
Diffstat (limited to 'source4/smb_server')
-rw-r--r--source4/smb_server/smb_server.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/source4/smb_server/smb_server.c b/source4/smb_server/smb_server.c
index 550234e1da..539627f361 100644
--- a/source4/smb_server/smb_server.c
+++ b/source4/smb_server/smb_server.c
@@ -26,6 +26,7 @@
#include "dlinklist.h"
#include "smbd/service_stream.h"
#include "smb_server/smb_server.h"
+#include "lib/messaging/irpc.h"
/*
@@ -771,6 +772,8 @@ static void smbsrv_accept(struct stream_connection *conn)
smb_conn->processing = False;
conn->private = smb_conn;
+
+ irpc_add_name(conn->msg_ctx, "smb_server");
}