summaryrefslogtreecommitdiff
path: root/source4
diff options
context:
space:
mode:
Diffstat (limited to 'source4')
-rw-r--r--source4/librpc/rpc/dcerpc_schannel.c4
-rw-r--r--source4/librpc/rpc/dcerpc_util.c2
2 files changed, 3 insertions, 3 deletions
diff --git a/source4/librpc/rpc/dcerpc_schannel.c b/source4/librpc/rpc/dcerpc_schannel.c
index c678a674c1..0870c89714 100644
--- a/source4/librpc/rpc/dcerpc_schannel.c
+++ b/source4/librpc/rpc/dcerpc_schannel.c
@@ -161,7 +161,7 @@ static void continue_srv_challenge(struct rpc_request *req)
s = talloc_get_type(c->private_data, struct schannel_key_state);
/* receive rpc request result - netlogon challenge */
- c->status = dcerpc_ndr_request_recv(req);
+ c->status = dcerpc_netr_ServerReqChallenge_recv(req);
if (!composite_is_ok(c)) return;
/* prepare credentials for auth2 request */
@@ -209,7 +209,7 @@ static void continue_srv_auth2(struct rpc_request *req)
s = talloc_get_type(c->private_data, struct schannel_key_state);
/* receive rpc request result - auth2 credentials */
- c->status = dcerpc_ndr_request_recv(req);
+ c->status = dcerpc_netr_ServerAuthenticate2_recv(req);
if (!composite_is_ok(c)) return;
/* verify credentials */
diff --git a/source4/librpc/rpc/dcerpc_util.c b/source4/librpc/rpc/dcerpc_util.c
index 9dabb54ca5..f540d62cb9 100644
--- a/source4/librpc/rpc/dcerpc_util.c
+++ b/source4/librpc/rpc/dcerpc_util.c
@@ -178,7 +178,7 @@ static void continue_epm_map(struct rpc_request *req)
struct epm_map_binding_state);
/* receive result of a rpc request */
- c->status = dcerpc_ndr_request_recv(req);
+ c->status = dcerpc_epm_Map_recv(req);
if (!composite_is_ok(c)) return;
/* check the details */