From 1798e9d7ec259396e9188714c1b3742f24e3ecfd Mon Sep 17 00:00:00 2001 From: Günther Deschner Date: Wed, 29 Oct 2008 01:23:49 +0100 Subject: s4-netlogon: merge netr_ServerReqChallenge from s3 idl. Guenther --- source4/librpc/idl/netlogon.idl | 3 ++- source4/librpc/rpc/dcerpc_schannel.c | 2 +- 2 files changed, 3 insertions(+), 2 deletions(-) (limited to 'source4/librpc') diff --git a/source4/librpc/idl/netlogon.idl b/source4/librpc/idl/netlogon.idl index 9f6c1e756e..3b618f1cc3 100644 --- a/source4/librpc/idl/netlogon.idl +++ b/source4/librpc/idl/netlogon.idl @@ -316,7 +316,8 @@ interface netlogon [public] NTSTATUS netr_ServerReqChallenge( [in,unique,string,charset(UTF16)] uint16 *server_name, [in,string,charset(UTF16)] uint16 computer_name[], - [in,out,ref] netr_Credential *credentials + [in,ref] netr_Credential *credentials, + [out,ref] netr_Credential *return_credentials ); diff --git a/source4/librpc/rpc/dcerpc_schannel.c b/source4/librpc/rpc/dcerpc_schannel.c index 35adc8b42e..13bbc3d51f 100644 --- a/source4/librpc/rpc/dcerpc_schannel.c +++ b/source4/librpc/rpc/dcerpc_schannel.c @@ -132,7 +132,7 @@ static void continue_bind_auth_none(struct composite_context *ctx) if (composite_nomem(s->r.in.server_name, c)) return; s->r.in.computer_name = cli_credentials_get_workstation(s->credentials); s->r.in.credentials = &s->credentials1; - s->r.out.credentials = &s->credentials2; + s->r.out.return_credentials = &s->credentials2; generate_random_buffer(s->credentials1.data, sizeof(s->credentials1.data)); -- cgit