diff options
author | Andrew Bartlett <abartlet@samba.org> | 2020-11-10 13:50:37 +1300 |
---|---|---|
committer | Gary Lockyer <gary@samba.org> | 2020-11-11 02:38:46 +0000 |
commit | f214a3ba5a3e9f129f10062392ae03edd62d8186 (patch) | |
tree | 69b9aecddde64b3c1cd33b4c4b751ba65b6ad1fb /python/samba | |
parent | fc77ece0e2b5fd324809e17a9b208cc7854cee4b (diff) | |
download | samba-f214a3ba5a3e9f129f10062392ae03edd62d8186.tar.gz |
selftest: Windows 2019 implements the RemoveDollar behaviour for Enterprise principals
This is documented in MS-KILE.
Signed-off-by: Andrew Bartlett <abartlet@samba.org>
Reviewed-by: Gary Lockyer <gary@catalyst.net.nz>
Autobuild-User(master): Gary Lockyer <gary@samba.org>
Autobuild-Date(master): Wed Nov 11 02:38:46 UTC 2020 on sn-devel-184
Diffstat (limited to 'python/samba')
-rwxr-xr-x | python/samba/tests/krb5/as_canonicalization_tests.py | 11 |
1 files changed, 0 insertions, 11 deletions
diff --git a/python/samba/tests/krb5/as_canonicalization_tests.py b/python/samba/tests/krb5/as_canonicalization_tests.py index f0e9f6307f6..caa186bed41 100755 --- a/python/samba/tests/krb5/as_canonicalization_tests.py +++ b/python/samba/tests/krb5/as_canonicalization_tests.py @@ -366,17 +366,6 @@ class KerberosASCanonicalizationTests(RawKerberosTest): self.assertEqual( rep['msg-type'], KRB_ERROR, "Data {0}".format(str(data))) - # We should get KDC_ERR_PREAUTH_REQUIRED - # unless the RemoveDollar and Enterprise options are set - # then we should get a KDC_ERR_C_PRINCIPAL_UNKNOWN - if TestOptions.RemoveDollar.is_set(data.options) and\ - TestOptions.Enterprise.is_set(data.options): - self.assertEqual( - rep['error-code'], - KDC_ERR_C_PRINCIPAL_UNKNOWN, - "Error code {0}, Data {1}".format(rep['error-code'], str(data))) - return (None, None) - self.assertEqual( rep['error-code'], KDC_ERR_PREAUTH_REQUIRED, |