summaryrefslogtreecommitdiff
path: root/python
diff options
context:
space:
mode:
authorAndrew Bartlett <abartlet@samba.org>2020-11-10 13:50:37 +1300
committerGary Lockyer <gary@samba.org>2020-11-11 02:38:46 +0000
commitf214a3ba5a3e9f129f10062392ae03edd62d8186 (patch)
tree69b9aecddde64b3c1cd33b4c4b751ba65b6ad1fb /python
parentfc77ece0e2b5fd324809e17a9b208cc7854cee4b (diff)
downloadsamba-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')
-rwxr-xr-xpython/samba/tests/krb5/as_canonicalization_tests.py11
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,