summaryrefslogtreecommitdiff
path: root/source4
diff options
context:
space:
mode:
authorAndrew Bartlett <abartlet@samba.org>2008-09-22 15:37:16 -0700
committerAndrew Bartlett <abartlet@samba.org>2008-09-22 15:37:16 -0700
commit7831169af5a909b614c8e34ef505f3565b4e2a0a (patch)
treee655a21d4c8b20a1ee40c23cdad2a6ff79e0d553 /source4
parentb18449dbd587e978a65d8de3b8df96371d4bcdcb (diff)
downloadsamba-7831169af5a909b614c8e34ef505f3565b4e2a0a.tar.gz
samba-7831169af5a909b614c8e34ef505f3565b4e2a0a.tar.bz2
samba-7831169af5a909b614c8e34ef505f3565b4e2a0a.zip
Test re-setting the challenge after an auth3 in RPC-NETLOGON
Diffstat (limited to 'source4')
-rw-r--r--source4/torture/rpc/netlogon.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/source4/torture/rpc/netlogon.c b/source4/torture/rpc/netlogon.c
index 5ec2c29a20..2522062696 100644
--- a/source4/torture/rpc/netlogon.c
+++ b/source4/torture/rpc/netlogon.c
@@ -250,6 +250,10 @@ static bool test_SetupCredentials3(struct dcerpc_pipe *p, struct torture_context
torture_assert(tctx, creds_client_check(creds, &credentials3), "Credential chaining failed");
torture_comment(tctx, "negotiate_flags=0x%08x\n", negotiate_flags);
+
+ /* Prove that requesting a challenge again won't break it */
+ status = dcerpc_netr_ServerReqChallenge(p, tctx, &r);
+ torture_assert_ntstatus_ok(tctx, status, "ServerReqChallenge");
*creds_out = creds;
return true;