diff options
author | Andrew Bartlett <abartlet@samba.org> | 2015-02-05 16:44:23 +1300 |
---|---|---|
committer | Andrew Bartlett <abartlet@samba.org> | 2015-02-08 08:07:08 +0100 |
commit | 3c89b25e4fbc86981ec2cfaebbd5e119a5fc965d (patch) | |
tree | 247381f1f438b3546b31685ed95359ce63344db2 /source4/selftest | |
parent | 52b74a4eaf82b892bddabcd70a3bc38c4fdc8410 (diff) | |
download | samba-3c89b25e4fbc86981ec2cfaebbd5e119a5fc965d.tar.gz samba-3c89b25e4fbc86981ec2cfaebbd5e119a5fc965d.tar.xz samba-3c89b25e4fbc86981ec2cfaebbd5e119a5fc965d.zip |
torture-krb5: Add test for TGS-REQ with type KRB5_NT_PRINCIPAL, KRB5_NT_SRV_INST, KRB5_NT_SRV_HST
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>
Diffstat (limited to 'source4/selftest')
-rwxr-xr-x | source4/selftest/tests.py | 8 |
1 files changed, 6 insertions, 2 deletions
diff --git a/source4/selftest/tests.py b/source4/selftest/tests.py index c188a0ca6d..00146b84cb 100755 --- a/source4/selftest/tests.py +++ b/source4/selftest/tests.py @@ -570,9 +570,13 @@ for env in ["dc", "rodc", "promoted_dc", "plugin_s4_dc", "fl2000dc", "fl2003dc", else: extra_options = [] - plansmbtorture4testsuite('krb5.kdc', "%s:local" % env, ['ncacn_np:$SERVER_IP', "-k", "yes", '-P', '--workgroup=$DOMAIN', '--realm=$REALM', '--option=torture:expect_machine_account=true'] + extra_options, + plansmbtorture4testsuite('krb5.kdc', "%s:local" % env, ['ncacn_np:$SERVER_IP', "-k", "yes", '-P', '--workgroup=$DOMAIN', '--realm=$REALM', '--option=torture:krb5-hostname=$SERVER', '--option=torture:expect_machine_account=true'] + extra_options, "samba4.krb5.kdc with machine account") - plansmbtorture4testsuite('krb5.kdc', env, ['ncacn_np:$SERVER_IP', "-k", "yes", '-Utestallowed%$PASSWORD', '--workgroup=$DOMAIN', '--realm=$REALM', '--option=torture:expect_machine_account=true', '--option=torture:krb5-upn=testallowed_upn@$REALM'] + extra_options, + plansmbtorture4testsuite('krb5.kdc', env, ['ncacn_np:$SERVER_IP', "-k", "yes", '-Utestallowed%$PASSWORD', + '--workgroup=$DOMAIN', '--realm=$REALM', + '--option=torture:expect_machine_account=true', + '--option=torture:krb5-upn=testallowed_upn@$REALM', + '--option=torture:krb5-hostname=testallowed'] + extra_options, "samba4.krb5.kdc with account ALLOWED permission to replicate to an RODC") # TODO: Verifying the databases really should be a part of the |