summaryrefslogtreecommitdiff
path: root/source4/torture/rpc/mgmt.c
diff options
context:
space:
mode:
Diffstat (limited to 'source4/torture/rpc/mgmt.c')
-rw-r--r--source4/torture/rpc/mgmt.c11
1 files changed, 8 insertions, 3 deletions
diff --git a/source4/torture/rpc/mgmt.c b/source4/torture/rpc/mgmt.c
index 75839e3900..24bf080ffb 100644
--- a/source4/torture/rpc/mgmt.c
+++ b/source4/torture/rpc/mgmt.c
@@ -49,11 +49,16 @@ static BOOL test_inq_if_ids(struct dcerpc_pipe *p,
}
for (i=0;i<r.out.if_id_vector->count;i++) {
+ const char *uuid;
struct dcerpc_syntax_id *id = r.out.if_id_vector->if_id[i].id;
if (!id) continue;
- printf("\tuuid %s version 0x%04x:0x%04x\n",
- GUID_string(mem_ctx, &id->uuid),
- id->major_version, id->minor_version);
+
+ uuid = GUID_string(mem_ctx, &id->uuid);
+
+ printf("\tuuid %s version 0x%04x:0x%04x '%s'\n",
+ uuid,
+ id->major_version, id->minor_version,
+ idl_pipe_name(uuid, id->major_version));
}
return True;