summaryrefslogtreecommitdiff
path: root/source4/torture/libnet/domain.c
diff options
context:
space:
mode:
authorAndrew Tridgell <tridge@samba.org>2010-09-15 09:53:49 +1000
committerAndrew Tridgell <tridge@samba.org>2010-09-15 15:39:36 +1000
commit0009d1771a757c1df152693840991ecc57564f34 (patch)
treedac668b79e46b061e7995f74b82a4eb183882fb4 /source4/torture/libnet/domain.c
parentc18e9566ea62fb1a3cb46ca6ce703e32e24cf550 (diff)
downloadsamba-0009d1771a757c1df152693840991ecc57564f34.tar.gz
samba-0009d1771a757c1df152693840991ecc57564f34.tar.bz2
samba-0009d1771a757c1df152693840991ecc57564f34.zip
s4-libnet: print the domain name on domain open failure
Pair-Programmed-With: Andrew Bartlett <abartlet@samba.org>
Diffstat (limited to 'source4/torture/libnet/domain.c')
-rw-r--r--source4/torture/libnet/domain.c3
1 files changed, 2 insertions, 1 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;
}