summaryrefslogtreecommitdiff
path: root/source4/torture/rpc
diff options
context:
space:
mode:
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)) {