torture: improve rpc.remote_pac test so we check if LogonSamLogon actually succeeds
[obnox/samba/samba-obnox.git] / source4 / torture / rpc / remote_pac.c
index 7ea123b8bdab50a502233a0b86fd75d27b23a898..e5e12bfab3377b9d1c9fe8f26f80a4abf06c9c56 100644 (file)
@@ -725,6 +725,8 @@ static bool test_S2U4Self(struct torture_context *tctx,
                                                         &r.out.return_authenticator->cred),
                       "Credential chaining failed");
 
+       torture_assert_ntstatus_ok(tctx, r.out.result, "LogonSamLogon failed");
+
        status = make_user_info_dc_netlogon_validation(tmp_ctx,
                                                      ninfo.identity_info.account_name.string,
                                                      r.in.validation_level,