summaryrefslogtreecommitdiff
path: root/source4/librpc/rpc/dcerpc_schannel.c
diff options
context:
space:
mode:
authorJelmer Vernooij <jelmer@samba.org>2007-12-07 03:01:41 +0100
committerStefan Metzmacher <metze@samba.org>2007-12-21 05:48:42 +0100
commitbca631be1f4cefeec3d64cd552ec6d9ee9cc1971 (patch)
tree375d4e22cbf3be367dccc82a50391b5756921e81 /source4/librpc/rpc/dcerpc_schannel.c
parent6c77f353d3d952b46b401ab29837ba5b75e353c2 (diff)
downloadsamba-bca631be1f4cefeec3d64cd552ec6d9ee9cc1971.tar.gz
samba-bca631be1f4cefeec3d64cd552ec6d9ee9cc1971.tar.bz2
samba-bca631be1f4cefeec3d64cd552ec6d9ee9cc1971.zip
r26329: Fix more loadparm_context references. Only about a 100 left now.
(This used to be commit ddf233346d848e91bc6a6a572f0f6120540503b7)
Diffstat (limited to 'source4/librpc/rpc/dcerpc_schannel.c')
-rw-r--r--source4/librpc/rpc/dcerpc_schannel.c8
1 files changed, 5 insertions, 3 deletions
diff --git a/source4/librpc/rpc/dcerpc_schannel.c b/source4/librpc/rpc/dcerpc_schannel.c
index fadf0add8c..68e211afae 100644
--- a/source4/librpc/rpc/dcerpc_schannel.c
+++ b/source4/librpc/rpc/dcerpc_schannel.c
@@ -224,7 +224,8 @@ static void continue_srv_auth2(struct rpc_request *req)
*/
struct composite_context *dcerpc_schannel_key_send(TALLOC_CTX *mem_ctx,
struct dcerpc_pipe *p,
- struct cli_credentials *credentials)
+ struct cli_credentials *credentials,
+ struct loadparm_context *lp_ctx)
{
struct composite_context *c;
struct schannel_key_state *s;
@@ -262,7 +263,8 @@ struct composite_context *dcerpc_schannel_key_send(TALLOC_CTX *mem_ctx,
/* request the netlogon endpoint mapping */
epm_map_req = dcerpc_epm_map_binding_send(c, s->binding,
&ndr_table_netlogon,
- s->pipe->conn->event_ctx);
+ s->pipe->conn->event_ctx,
+ lp_ctx);
if (composite_nomem(epm_map_req, c)) return c;
composite_continue(c, epm_map_req, continue_epm_map_binding, c);
@@ -371,7 +373,7 @@ struct composite_context *dcerpc_bind_auth_schannel_send(TALLOC_CTX *tmp_ctx,
s->lp_ctx = lp_ctx;
/* start getting schannel key first */
- schan_key_req = dcerpc_schannel_key_send(c, p, credentials);
+ schan_key_req = dcerpc_schannel_key_send(c, p, credentials, lp_ctx);
if (composite_nomem(schan_key_req, c)) return c;
composite_continue(c, schan_key_req, continue_schannel_key, c);