summaryrefslogtreecommitdiff
path: root/source3
diff options
context:
space:
mode:
authorVolker Lendecke <vl@samba.org>2010-07-06 22:52:19 +0200
committerVolker Lendecke <vl@samba.org>2010-08-07 13:16:48 +0200
commit21229178bd4703a70f222e102bd2588449ac023b (patch)
treeaf1a391d00b497340286a4e1454c858004a362ea /source3
parentc9b654f5810f46b20e082895499c0bf2a3077173 (diff)
downloadsamba-21229178bd4703a70f222e102bd2588449ac023b.tar.gz
samba-21229178bd4703a70f222e102bd2588449ac023b.tar.bz2
samba-21229178bd4703a70f222e102bd2588449ac023b.zip
s3: Add msg_ctx to pipes_struct
Diffstat (limited to 'source3')
-rw-r--r--source3/include/ntdomain.h1
-rw-r--r--source3/rpc_server/rpc_ncacn_np_internal.c2
2 files changed, 3 insertions, 0 deletions
diff --git a/source3/include/ntdomain.h b/source3/include/ntdomain.h
index f42ff587ff..071e915561 100644
--- a/source3/include/ntdomain.h
+++ b/source3/include/ntdomain.h
@@ -134,6 +134,7 @@ struct pipes_struct {
char client_address[INET6_ADDRSTRLEN];
struct auth_serversupplied_info *server_info;
+ struct messaging_context *msg_ctx;
struct ndr_syntax_id syntax;
diff --git a/source3/rpc_server/rpc_ncacn_np_internal.c b/source3/rpc_server/rpc_ncacn_np_internal.c
index 9bb5428d39..b2b337af5b 100644
--- a/source3/rpc_server/rpc_ncacn_np_internal.c
+++ b/source3/rpc_server/rpc_ncacn_np_internal.c
@@ -152,6 +152,8 @@ struct pipes_struct *make_internal_rpc_pipe_p(TALLOC_CTX *mem_ctx,
return NULL;
}
+ p->msg_ctx = smbd_messaging_context();
+
DLIST_ADD(InternalPipes, p);
strlcpy(p->client_address, client_address, sizeof(p->client_address));