summaryrefslogtreecommitdiff
path: root/source4/librpc/rpc/dcerpc_schannel.c
diff options
context:
space:
mode:
authorGünther Deschner <gd@samba.org>2008-10-29 01:14:08 +0100
committerGünther Deschner <gd@samba.org>2008-10-29 08:57:51 +0100
commit8e4c691c0aa406eedf52afb5cee33ff1540c0f8d (patch)
tree12e546568675427c295dfa5f94ff477c33529ef0 /source4/librpc/rpc/dcerpc_schannel.c
parent8f52c33401f0cd12184335507271ae9141618679 (diff)
downloadsamba-8e4c691c0aa406eedf52afb5cee33ff1540c0f8d.tar.gz
samba-8e4c691c0aa406eedf52afb5cee33ff1540c0f8d.tar.bz2
samba-8e4c691c0aa406eedf52afb5cee33ff1540c0f8d.zip
s4-netlogon: merge netr_ServerAuthenticate{2,3} from s3 idl.
Guenther
Diffstat (limited to 'source4/librpc/rpc/dcerpc_schannel.c')
-rw-r--r--source4/librpc/rpc/dcerpc_schannel.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/source4/librpc/rpc/dcerpc_schannel.c b/source4/librpc/rpc/dcerpc_schannel.c
index 5588b43dcd..35adc8b42e 100644
--- a/source4/librpc/rpc/dcerpc_schannel.c
+++ b/source4/librpc/rpc/dcerpc_schannel.c
@@ -178,7 +178,7 @@ static void continue_srv_challenge(struct rpc_request *req)
s->a.in.negotiate_flags = &s->negotiate_flags;
s->a.in.credentials = &s->credentials3;
s->a.out.negotiate_flags = &s->negotiate_flags;
- s->a.out.credentials = &s->credentials3;
+ s->a.out.return_credentials = &s->credentials3;
/*
authenticate on the netlogon pipe - a rpc request over secondary pipe
@@ -207,7 +207,7 @@ static void continue_srv_auth2(struct rpc_request *req)
if (!composite_is_ok(c)) return;
/* verify credentials */
- if (!creds_client_check(s->creds, s->a.out.credentials)) {
+ if (!creds_client_check(s->creds, s->a.out.return_credentials)) {
composite_error(c, NT_STATUS_UNSUCCESSFUL);
return;
}