summaryrefslogtreecommitdiff
path: root/source4/torture/rpc/testjoin.c
diff options
context:
space:
mode:
authorAndrew Bartlett <abartlet@samba.org>2008-08-27 21:36:27 +1000
committerAndrew Bartlett <abartlet@samba.org>2008-08-27 21:36:27 +1000
commit960bd9df1f4c7bec95be5362fa7fa66d5ac591e9 (patch)
tree5c51a4927ff1875eb06d43abce8b50a5b36924d0 /source4/torture/rpc/testjoin.c
parent031d145e382fd545f43fa1cd72c10e1469034659 (diff)
downloadsamba-960bd9df1f4c7bec95be5362fa7fa66d5ac591e9.tar.gz
samba-960bd9df1f4c7bec95be5362fa7fa66d5ac591e9.tar.bz2
samba-960bd9df1f4c7bec95be5362fa7fa66d5ac591e9.zip
Add a test to explore Netlogon PAC validation
However, I have still not figured out this protocol yet, and the docs are rather unclear... :-( Andrew Bartlett (This used to be commit d878643071a1477435a267e2944461d367cdfa79)
Diffstat (limited to 'source4/torture/rpc/testjoin.c')
-rw-r--r--source4/torture/rpc/testjoin.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/source4/torture/rpc/testjoin.c b/source4/torture/rpc/testjoin.c
index 9fd9d2f0c6..2af8c4f872 100644
--- a/source4/torture/rpc/testjoin.c
+++ b/source4/torture/rpc/testjoin.c
@@ -400,6 +400,7 @@ _PUBLIC_ struct test_join *torture_join_domain(struct torture_context *tctx,
}
cli_credentials_set_username(*machine_credentials, libnet_r->in.account_name, CRED_SPECIFIED);
cli_credentials_set_password(*machine_credentials, libnet_r->out.join_password, CRED_SPECIFIED);
+ cli_credentials_set_kvno(*machine_credentials, libnet_r->out.kvno);
if (acct_flags & ACB_SVRTRUST) {
cli_credentials_set_secure_channel_type(*machine_credentials,
SEC_CHAN_BDC);