summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMatthias Dieter Wallnöfer <mwallnoefer@yahoo.de>2009-11-06 12:32:47 +0100
committerMatthias Dieter Wallnöfer <mwallnoefer@yahoo.de>2009-11-06 15:19:39 +0100
commit17d6506c9e9e4033c6932bbc9b562bec0cb08a89 (patch)
tree610420fd329c0de873717066b05a340f6dc7346a
parent9f481664fb106fae7eea2774b45c5f6b2c3626cf (diff)
downloadsamba-17d6506c9e9e4033c6932bbc9b562bec0cb08a89.tar.gz
samba-17d6506c9e9e4033c6932bbc9b562bec0cb08a89.tar.bz2
samba-17d6506c9e9e4033c6932bbc9b562bec0cb08a89.zip
s4:torture/samr - Add status code on "ValidatePassword" test output
-rw-r--r--source4/torture/rpc/samr.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/source4/torture/rpc/samr.c b/source4/torture/rpc/samr.c
index b26a4c6eee..3f5963720c 100644
--- a/source4/torture/rpc/samr.c
+++ b/source4/torture/rpc/samr.c
@@ -6779,9 +6779,9 @@ static bool test_samr_ValidatePassword(struct dcerpc_pipe *p, struct torture_con
req.req3.password.string = passwords[i];
status = dcerpc_samr_ValidatePassword(p, tctx, &r);
torture_assert_ntstatus_ok(tctx, status, "samr_ValidatePassword");
- torture_comment(tctx, "Server %s password '%s'\n",
+ torture_comment(tctx, "Server %s password '%s' with code %i\n",
repp->ctr3.status==SAMR_VALIDATION_STATUS_SUCCESS?"allowed":"refused",
- req.req3.password.string);
+ req.req3.password.string, repp->ctr3.status);
}
return true;