summaryrefslogtreecommitdiff
path: root/source4/torture/rpc
diff options
context:
space:
mode:
authorAndrew Tridgell <tridge@samba.org>2004-09-09 14:34:58 +0000
committerGerald (Jerry) Carter <jerry@samba.org>2007-10-10 12:58:36 -0500
commit696629b2ecc471384fb0a4cd6619743665311fe3 (patch)
tree91363ddb7a248083dea88eb1a48b924e015d55c3 /source4/torture/rpc
parent22275a4c2f80b69828ffa89424476baa28fa3fa9 (diff)
downloadsamba-696629b2ecc471384fb0a4cd6619743665311fe3.tar.gz
samba-696629b2ecc471384fb0a4cd6619743665311fe3.tar.bz2
samba-696629b2ecc471384fb0a4cd6619743665311fe3.zip
r2267: we no longer need to force the domain join to happen on NCACN_NP - it
now works on NCACN_IP_TCP as well. (This used to be commit 9cc33d936407255b5c5fb9bde37d918cf268c784)
Diffstat (limited to 'source4/torture/rpc')
-rw-r--r--source4/torture/rpc/testjoin.c11
1 files changed, 5 insertions, 6 deletions
diff --git a/source4/torture/rpc/testjoin.c b/source4/torture/rpc/testjoin.c
index 5ee17b092a..32ea6c5ce4 100644
--- a/source4/torture/rpc/testjoin.c
+++ b/source4/torture/rpc/testjoin.c
@@ -123,13 +123,12 @@ void *torture_join_domain(const char *machine_name,
join->mem_ctx = mem_ctx;
- printf("Connecting to SAMR (forced ncacn_np)\n");
+ printf("Connecting to SAMR\n");
- status = torture_rpc_connection_transport(&join->p,
- DCERPC_SAMR_NAME,
- DCERPC_SAMR_UUID,
- DCERPC_SAMR_VERSION,
- NCACN_NP);
+ status = torture_rpc_connection(&join->p,
+ DCERPC_SAMR_NAME,
+ DCERPC_SAMR_UUID,
+ DCERPC_SAMR_VERSION);
if (!NT_STATUS_IS_OK(status)) {
goto failed;
}