summaryrefslogtreecommitdiff
path: root/source4/librpc
diff options
context:
space:
mode:
authorGünther Deschner <gd@samba.org>2008-10-29 01:23:49 +0100
committerGünther Deschner <gd@samba.org>2008-10-29 08:57:52 +0100
commit1798e9d7ec259396e9188714c1b3742f24e3ecfd (patch)
tree8ec9d69eb02d7d6916625ba993e27bb3d800320f /source4/librpc
parent8e4c691c0aa406eedf52afb5cee33ff1540c0f8d (diff)
downloadsamba-1798e9d7ec259396e9188714c1b3742f24e3ecfd.tar.gz
samba-1798e9d7ec259396e9188714c1b3742f24e3ecfd.tar.bz2
samba-1798e9d7ec259396e9188714c1b3742f24e3ecfd.zip
s4-netlogon: merge netr_ServerReqChallenge from s3 idl.
Guenther
Diffstat (limited to 'source4/librpc')
-rw-r--r--source4/librpc/idl/netlogon.idl3
-rw-r--r--source4/librpc/rpc/dcerpc_schannel.c2
2 files changed, 3 insertions, 2 deletions
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));