summaryrefslogtreecommitdiff
path: root/source4/torture/rpc
diff options
context:
space:
mode:
authorJelmer Vernooij <jelmer@samba.org>2004-10-24 23:12:13 +0000
committerGerald (Jerry) Carter <jerry@samba.org>2007-10-10 13:02:29 -0500
commitdbdd217435ee579769cefe58954135bfc5b8411b (patch)
treecb37f53f52b7f157108a1810d194b0e8d2862f78 /source4/torture/rpc
parent06b3879c8fec97ef5de9b969301611e28fff00de (diff)
downloadsamba-dbdd217435ee579769cefe58954135bfc5b8411b.tar.gz
samba-dbdd217435ee579769cefe58954135bfc5b8411b.tar.bz2
samba-dbdd217435ee579769cefe58954135bfc5b8411b.zip
r3168: Use generic function for looking up endpoints
(This used to be commit 45a3e2a9815058a3a828c573573c5eee605f9129)
Diffstat (limited to 'source4/torture/rpc')
-rw-r--r--source4/torture/rpc/mgmt.c2
-rw-r--r--source4/torture/rpc/scanner.c2
2 files changed, 2 insertions, 2 deletions
diff --git a/source4/torture/rpc/mgmt.c b/source4/torture/rpc/mgmt.c
index 7cbee61708..cd04d0be4f 100644
--- a/source4/torture/rpc/mgmt.c
+++ b/source4/torture/rpc/mgmt.c
@@ -205,7 +205,7 @@ BOOL torture_rpc_mgmt(int dummy)
printf("\nTesting pipe '%s'\n", dcerpc_pipes[i]->name);
if (b.transport == NCACN_IP_TCP) {
- status = dcerpc_epm_map(mem_ctx, &b,
+ status = dcerpc_epm_map_binding(mem_ctx, &b,
dcerpc_pipes[i]->uuid,
dcerpc_pipes[i]->if_version);
if (!NT_STATUS_IS_OK(status)) {
diff --git a/source4/torture/rpc/scanner.c b/source4/torture/rpc/scanner.c
index 5719b7f0b3..4bc8b88ba5 100644
--- a/source4/torture/rpc/scanner.c
+++ b/source4/torture/rpc/scanner.c
@@ -160,7 +160,7 @@ BOOL torture_rpc_scanner(int dummy)
printf("\nTesting pipe '%s'\n", dcerpc_pipes[i]->name);
if (b.transport == NCACN_IP_TCP) {
- status = dcerpc_epm_map(mem_ctx, &b,
+ status = dcerpc_epm_map_binding(mem_ctx, &b,
dcerpc_pipes[i]->uuid,
dcerpc_pipes[i]->if_version);
if (!NT_STATUS_IS_OK(status)) {