From d84a8d534374072fc96fd5da34e0021c81005f1a Mon Sep 17 00:00:00 2001 From: Andrew Bartlett Date: Wed, 6 Apr 2011 09:12:15 +1000 Subject: s3-selftest Add tests to show kerberos works across a password change It is important that a machine account password change does not invalidate existing tickets. This is only for the default kerberos method with a password in secrets.tdb. The keytab based methods are still not tested. Andrew Bartlett Autobuild-User: Andrew Bartlett Autobuild-Date: Wed Apr 6 05:24:48 CEST 2011 on sn-devel-104 --- source3/selftest/ktest-krb5_ccache | Bin 11966 -> 0 bytes source3/selftest/ktest-krb5_ccache-2 | Bin 0 -> 11966 bytes source3/selftest/ktest-krb5_ccache-3 | Bin 0 -> 6031 bytes source3/selftest/ktest-secrets.tdb | Bin 45056 -> 45056 bytes source3/selftest/tests.py | 5 ++++- 5 files changed, 4 insertions(+), 1 deletion(-) delete mode 100644 source3/selftest/ktest-krb5_ccache create mode 100644 source3/selftest/ktest-krb5_ccache-2 create mode 100644 source3/selftest/ktest-krb5_ccache-3 (limited to 'source3') diff --git a/source3/selftest/ktest-krb5_ccache b/source3/selftest/ktest-krb5_ccache deleted file mode 100644 index 15102226f3..0000000000 Binary files a/source3/selftest/ktest-krb5_ccache and /dev/null differ diff --git a/source3/selftest/ktest-krb5_ccache-2 b/source3/selftest/ktest-krb5_ccache-2 new file mode 100644 index 0000000000..15102226f3 Binary files /dev/null and b/source3/selftest/ktest-krb5_ccache-2 differ diff --git a/source3/selftest/ktest-krb5_ccache-3 b/source3/selftest/ktest-krb5_ccache-3 new file mode 100644 index 0000000000..a056beb355 Binary files /dev/null and b/source3/selftest/ktest-krb5_ccache-3 differ diff --git a/source3/selftest/ktest-secrets.tdb b/source3/selftest/ktest-secrets.tdb index c09c315288..cf5c3d05dc 100644 Binary files a/source3/selftest/ktest-secrets.tdb and b/source3/selftest/ktest-secrets.tdb differ diff --git a/source3/selftest/tests.py b/source3/selftest/tests.py index 826b84fa3b..3fd44c52ca 100755 --- a/source3/selftest/tests.py +++ b/source3/selftest/tests.py @@ -219,7 +219,10 @@ if sub.returncode == 0: e = "" a = "" binding_string = "ncacn_np:$SERVER[%s%s%s%s]" % (a, s, z, e) - options = binding_string + " -k yes --krb5-ccache=$PREFIX/ktest/krb5_ccache" + options = binding_string + " -k yes --krb5-ccache=$PREFIX/ktest/krb5_ccache-2" + plansmbtorturetestsuite(test, "ktest", options, 'over kerberos with old ccache ncacn_np with [%s%s%s%s] ' % (a, s, z, e)) + + options = binding_string + " -k yes --krb5-ccache=$PREFIX/ktest/krb5_ccache-3" plansmbtorturetestsuite(test, "ktest", options, 'over kerberos ncacn_np with [%s%s%s%s] ' % (a, s, z, e)) -- cgit