use the auto-generated UUID, version and name rather than listing them
[ira/wip.git] / source4 / torture / rpc / spoolss.c
index feaeae7b79f8129fa77aad9483e1e1c174bd2d06..53e25a3e14a03411291d409e6cda5ab9f3be71dd 100644 (file)
@@ -261,7 +261,10 @@ BOOL torture_rpc_spoolss(int dummy)
 
        mem_ctx = talloc_init("torture_rpc_spoolss");
 
-       status = torture_rpc_connection(&p, "spoolss");
+       status = torture_rpc_connection(&p, 
+                                       DCERPC_SPOOLSS_NAME,
+                                       DCERPC_SPOOLSS_UUID,
+                                       DCERPC_SPOOLSS_VERSION);
        if (!NT_STATUS_IS_OK(status)) {
                return False;
        }