summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--source4/torture/libnet/domain.c3
-rw-r--r--source4/torture/libnet/libnet_domain.c3
2 files changed, 4 insertions, 2 deletions
diff --git a/source4/torture/libnet/domain.c b/source4/torture/libnet/domain.c
index c523eeeab4..c73682f972 100644
--- a/source4/torture/libnet/domain.c
+++ b/source4/torture/libnet/domain.c
@@ -39,7 +39,8 @@ static bool test_domainopen(struct torture_context *tctx,
status = libnet_DomainOpen(net_ctx, mem_ctx, &io);
if (!NT_STATUS_IS_OK(status)) {
- torture_comment(tctx, "Composite domain open failed - %s\n", nt_errstr(status));
+ torture_comment(tctx, "Composite domain open failed for domain '%s' - %s\n",
+ domname->string, nt_errstr(status));
return false;
}
diff --git a/source4/torture/libnet/libnet_domain.c b/source4/torture/libnet/libnet_domain.c
index 8cce172192..142b6e9f61 100644
--- a/source4/torture/libnet/libnet_domain.c
+++ b/source4/torture/libnet/libnet_domain.c
@@ -271,7 +271,8 @@ bool torture_domain_open_samr(struct torture_context *torture)
status = libnet_DomainOpen(ctx, mem_ctx, &io);
if (!NT_STATUS_IS_OK(status)) {
- torture_comment(torture, "Composite domain open failed - %s\n", nt_errstr(status));
+ torture_comment(torture, "Composite domain open failed for domain '%s' - %s\n",
+ domain_name, nt_errstr(status));
ret = false;
goto done;
}