mirror of
https://github.com/samba-team/samba.git
synced 2025-08-04 08:22:08 +03:00
r26327: Explicit loadparm_context for RPC client functions.
(This used to be commit eeb2251d22
)
This commit is contained in:
committed by
Stefan Metzmacher
parent
485b24fc11
commit
4c4323009f
@ -375,6 +375,7 @@ static struct registry_operations reg_backend_rpc = {
|
||||
_PUBLIC_ WERROR reg_open_remote(struct registry_context **ctx,
|
||||
struct auth_session_info *session_info,
|
||||
struct cli_credentials *credentials,
|
||||
struct loadparm_context *lp_ctx,
|
||||
const char *location, struct event_context *ev)
|
||||
{
|
||||
NTSTATUS status;
|
||||
@ -393,7 +394,7 @@ _PUBLIC_ WERROR reg_open_remote(struct registry_context **ctx,
|
||||
status = dcerpc_pipe_connect(*ctx /* TALLOC_CTX */,
|
||||
&p, location,
|
||||
&ndr_table_winreg,
|
||||
credentials, ev);
|
||||
credentials, ev, lp_ctx);
|
||||
rctx->pipe = p;
|
||||
|
||||
if(NT_STATUS_IS_ERR(status)) {
|
||||
|
Reference in New Issue
Block a user