summaryrefslogtreecommitdiff
path: root/source4/torture
diff options
context:
space:
mode:
Diffstat (limited to 'source4/torture')
-rw-r--r--source4/torture/rpc/samlogon.c8
1 files changed, 8 insertions, 0 deletions
diff --git a/source4/torture/rpc/samlogon.c b/source4/torture/rpc/samlogon.c
index e4d07844a9..640bd6a6e3 100644
--- a/source4/torture/rpc/samlogon.c
+++ b/source4/torture/rpc/samlogon.c
@@ -1941,6 +1941,7 @@ bool torture_rpc_samlogon(struct torture_context *torture)
usercreds[ci].parameter_control,
usercreds[ci].expected_interactive_error)) {
ret = false;
+ goto failed;
}
if (usercreds[ci].network_login) {
@@ -1954,6 +1955,7 @@ bool torture_rpc_samlogon(struct torture_context *torture)
usercreds[ci].old_password,
0)) {
ret = false;
+ goto failed;
}
}
}
@@ -1965,6 +1967,10 @@ bool torture_rpc_samlogon(struct torture_context *torture)
for (i=0; i < ARRAY_SIZE(credential_flags); i++) {
/* TODO: Somehow we lost setting up the different credential flags here! */
+ torture_comment(torture,
+ "Testing with flags: 0x%08x\n",
+ credential_flags[i]);
+
if (!test_InteractiveLogon(p, mem_ctx, torture, creds,
usercreds[0].comment,
TEST_MACHINE_NAME,
@@ -1974,6 +1980,7 @@ bool torture_rpc_samlogon(struct torture_context *torture)
usercreds[0].parameter_control,
usercreds[0].expected_interactive_error)) {
ret = false;
+ goto failed;
}
if (usercreds[0].network_login) {
@@ -1987,6 +1994,7 @@ bool torture_rpc_samlogon(struct torture_context *torture)
usercreds[0].old_password,
1)) {
ret = false;
+ goto failed;
}
}
}