diff options
author | Jelmer Vernooij <jelmer@samba.org> | 2007-12-07 02:37:04 +0100 |
---|---|---|
committer | Stefan Metzmacher <metze@samba.org> | 2007-12-21 05:48:41 +0100 |
commit | eeb2251d22b3d6e0379444a73af69d1014692b07 (patch) | |
tree | b0d4445e294e6a7f443b8f40ba67f6176131a5ce /source/rpc_server | |
parent | e1b7c1aee3043d1393c3374a1f460005e1dcbbfc (diff) | |
download | samba-eeb2251d22b3d6e0379444a73af69d1014692b07.tar.gz |
r26327: Explicit loadparm_context for RPC client functions.
Diffstat (limited to 'source/rpc_server')
-rw-r--r-- | source/rpc_server/remote/dcesrv_remote.c | 3 | ||||
-rw-r--r-- | source/rpc_server/spoolss/dcesrv_spoolss.c | 2 |
2 files changed, 3 insertions, 2 deletions
diff --git a/source/rpc_server/remote/dcesrv_remote.c b/source/rpc_server/remote/dcesrv_remote.c index 613b53519af..3b5c0a02aec 100644 --- a/source/rpc_server/remote/dcesrv_remote.c +++ b/source/rpc_server/remote/dcesrv_remote.c @@ -103,7 +103,8 @@ static NTSTATUS remote_op_bind(struct dcesrv_call_state *dce_call, const struct status = dcerpc_pipe_connect(private, &(private->c_pipe), binding, table, - credentials, dce_call->event_ctx); + credentials, dce_call->event_ctx, + dce_call->conn->dce_ctx->lp_ctx); talloc_free(credentials); if (!NT_STATUS_IS_OK(status)) { diff --git a/source/rpc_server/spoolss/dcesrv_spoolss.c b/source/rpc_server/spoolss/dcesrv_spoolss.c index bd30f231bf1..33a42dddab6 100644 --- a/source/rpc_server/spoolss/dcesrv_spoolss.c +++ b/source/rpc_server/spoolss/dcesrv_spoolss.c @@ -1155,7 +1155,7 @@ static WERROR dcesrv_spoolss_RemoteFindFirstPrinterChangeNotifyEx(struct dcesrv_ creds = cli_credentials_init_anon(mem_ctx); /* FIXME: Use machine credentials instead ? */ status = dcerpc_pipe_connect_b(mem_ctx, &p, binding, &ndr_table_spoolss, - creds, NULL); + creds, NULL, dce_call->conn->dce_ctx->lp_ctx); if (NT_STATUS_IS_ERR(status)) { DEBUG(0, ("unable to call back to %s\n", r->in.str)); |