summaryrefslogtreecommitdiff
path: root/source4
diff options
context:
space:
mode:
authorStefan Metzmacher <metze@samba.org>2011-03-12 10:16:22 +0100
committerStefan Metzmacher <metze@samba.org>2011-03-13 10:34:22 +0100
commit7888f0e7f779e4d3180978ed7bccdb15e036996a (patch)
treebc745410039f041cca832c431dbfa0cf18397b19 /source4
parent38be8c24fc25933cb5bccaedfd8320b1cdac73ab (diff)
downloadsamba-7888f0e7f779e4d3180978ed7bccdb15e036996a.tar.gz
samba-7888f0e7f779e4d3180978ed7bccdb15e036996a.tar.bz2
samba-7888f0e7f779e4d3180978ed7bccdb15e036996a.zip
s4:torture/rpc/object_uuid: use dcerpc_binding_handle_call() instead of dcerpc_ndr_request()
metze
Diffstat (limited to 'source4')
-rw-r--r--source4/torture/rpc/object_uuid.c6
1 files changed, 4 insertions, 2 deletions
diff --git a/source4/torture/rpc/object_uuid.c b/source4/torture/rpc/object_uuid.c
index 8e7d6a7bad..22099540a4 100644
--- a/source4/torture/rpc/object_uuid.c
+++ b/source4/torture/rpc/object_uuid.c
@@ -49,7 +49,8 @@ static bool test_random_uuid(struct torture_context *torture)
uuid = GUID_random();
r1.in.level = DS_ROLE_BASIC_INFORMATION;
- status = dcerpc_ndr_request(p1, &uuid,
+ status = dcerpc_binding_handle_call(p1->binding_handle,
+ &uuid,
&ndr_table_dssetup,
NDR_DSSETUP_DSROLEGETPRIMARYDOMAININFORMATION,
torture, &r1);
@@ -64,7 +65,8 @@ static bool test_random_uuid(struct torture_context *torture)
r2.out.account_name = &account_name_p;
r2.out.authority_name = &authority_name_p;
- status = dcerpc_ndr_request(p2, &uuid,
+ status = dcerpc_binding_handle_call(p2->binding_handle,
+ &uuid,
&ndr_table_lsarpc,
NDR_LSA_GETUSERNAME,
torture, &r2);