summaryrefslogtreecommitdiffstats
path: root/source4
diff options
context:
space:
mode:
authorAndrew Bartlett <abartlet@samba.org>2014-12-16 18:07:44 +1300
committerAndrew Bartlett <abartlet@samba.org>2014-12-18 02:51:02 +0100
commit53fb00e5d59c0e69a44ba54eeedc3a48a5322e9f (patch)
treeffa1790a3e4edc97fe4e3118e40f0415e63f50fa /source4
parent933305ad4ac03735f891c5043916b42be1a1c771 (diff)
downloadsamba-53fb00e5d59c0e69a44ba54eeedc3a48a5322e9f.tar.gz
samba-53fb00e5d59c0e69a44ba54eeedc3a48a5322e9f.tar.xz
samba-53fb00e5d59c0e69a44ba54eeedc3a48a5322e9f.zip
torture: improve rpc.remote_pac test so we check if LogonSamLogon actually succeeds
Signed-off-by: Andrew Bartlett <abartlet@samba.org> Pair-programmed-with: Garming Sam <garming@catalyst.net.nz> Signed-off-by: Garming Sam <garming@catalyst.net.nz> Autobuild-User(master): Andrew Bartlett <abartlet@samba.org> Autobuild-Date(master): Thu Dec 18 02:51:02 CET 2014 on sn-devel-104
Diffstat (limited to 'source4')
-rw-r--r--source4/torture/rpc/remote_pac.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/source4/torture/rpc/remote_pac.c b/source4/torture/rpc/remote_pac.c
index 7ea123b8bd..e5e12bfab3 100644
--- a/source4/torture/rpc/remote_pac.c
+++ b/source4/torture/rpc/remote_pac.c
@@ -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,