summaryrefslogtreecommitdiff
path: root/source4/torture/rpc/samr.c
diff options
context:
space:
mode:
authorAndrew Tridgell <tridge@samba.org>2003-11-18 05:01:10 +0000
committerAndrew Tridgell <tridge@samba.org>2003-11-18 05:01:10 +0000
commit9b7b5e5c516155d9606cc92bd22a958a8435ef48 (patch)
treebf528139415fa9b6588f5f35e30ee2e10aa69c3c /source4/torture/rpc/samr.c
parentc88b0b2bb2c3c41b7e51db4b4dd6c1423af86de8 (diff)
downloadsamba-9b7b5e5c516155d9606cc92bd22a958a8435ef48.tar.gz
samba-9b7b5e5c516155d9606cc92bd22a958a8435ef48.tar.bz2
samba-9b7b5e5c516155d9606cc92bd22a958a8435ef48.zip
use the auto-generated UUID, version and name rather than listing them
in the dcerpc core code (This used to be commit 16ffeb7c80bfe7f1bfbfce8c98066e9ddbca7686)
Diffstat (limited to 'source4/torture/rpc/samr.c')
-rw-r--r--source4/torture/rpc/samr.c5
1 files changed, 4 insertions, 1 deletions
diff --git a/source4/torture/rpc/samr.c b/source4/torture/rpc/samr.c
index fb00cc56df..fddf97ef74 100644
--- a/source4/torture/rpc/samr.c
+++ b/source4/torture/rpc/samr.c
@@ -497,7 +497,10 @@ BOOL torture_rpc_samr(int dummy)
mem_ctx = talloc_init("torture_rpc_samr");
- status = torture_rpc_connection(&p, "samr");
+ status = torture_rpc_connection(&p,
+ DCERPC_SAMR_NAME,
+ DCERPC_SAMR_UUID,
+ DCERPC_SAMR_VERSION);
if (!NT_STATUS_IS_OK(status)) {
return False;
}