summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorVolker Lendecke <vl@samba.org>2008-05-16 15:38:16 +0200
committerVolker Lendecke <vl@samba.org>2008-05-16 15:40:29 +0200
commitef6fd2d46d2cb7afde4b152d1f1b2db092794542 (patch)
treecd122dde329d3f4175686178ec9788ff4d3e9850
parent8a31130a761711e423ab1a788f2931586edb4b18 (diff)
downloadsamba-ef6fd2d46d2cb7afde4b152d1f1b2db092794542.tar.gz
samba-ef6fd2d46d2cb7afde4b152d1f1b2db092794542.tar.xz
samba-ef6fd2d46d2cb7afde4b152d1f1b2db092794542.zip
In torture_leave_domain, say what account was deleted
(This used to be commit a9a0f24f7299c1480d8047d97c703aca8e94c79f)
-rw-r--r--source4/torture/rpc/testjoin.c6
1 files changed, 4 insertions, 2 deletions
diff --git a/source4/torture/rpc/testjoin.c b/source4/torture/rpc/testjoin.c
index 100e7cead27..51efd99bd8e 100644
--- a/source4/torture/rpc/testjoin.c
+++ b/source4/torture/rpc/testjoin.c
@@ -508,9 +508,11 @@ _PUBLIC_ void torture_leave_domain(struct test_join *join)
/* Delete machine account */
status = dcerpc_samr_DeleteUser(join->p, join, &d);
if (!NT_STATUS_IS_OK(status)) {
- printf("Delete of machine account failed\n");
+ printf("Delete of machine account %s failed\n",
+ join->netbios_name);
} else {
- printf("Delete of machine account was successful.\n");
+ printf("Delete of machine account %s was successful.\n",
+ join->netbios_name);
}
if (join->libnet_r) {