summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorStefan Metzmacher <metze@samba.org>2010-02-27 10:59:14 +0100
committerStefan Metzmacher <metze@samba.org>2010-03-01 16:11:55 +0100
commit8ba2128e1e4b242bba582b4c8b419c3dc5cd4016 (patch)
tree4ec8e09b602fba649f7cdea6e28c146ce67561e4
parentc84b4b23c8b7f7c32ce0a17b5dfb526dbda66f6a (diff)
downloadsamba-8ba2128e1e4b242bba582b4c8b419c3dc5cd4016.tar.gz
samba-8ba2128e1e4b242bba582b4c8b419c3dc5cd4016.tar.bz2
samba-8ba2128e1e4b242bba582b4c8b419c3dc5cd4016.zip
s4:librpc/rpc: make use of explicit dcerpc_*_recv functions
metze
-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 */