use the auto-generated UUID, version and name rather than listing them
[ira/wip.git] / source4 / torture / rpc / samr.c
index fb00cc56dfc56438ddc9fb9e28e736dce3d8f2fc..fddf97ef74aee677b541ad6572d902bf76886630 100644 (file)
@@ -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;
        }