summaryrefslogtreecommitdiff
path: root/python
diff options
context:
space:
mode:
authorGary Lockyer <gary@catalyst.net.nz>2020-10-27 09:31:24 +1300
committerAndrew Bartlett <abartlet@samba.org>2020-11-04 22:54:41 +0000
commit41c8aa4b991aad306d731b08d068c480eb5c7fed (patch)
tree6a200c2237dd81260b70c4980992c05e49326c1e /python
parentb14dca7c1c063e069517ff01b33c63a000d398c3 (diff)
downloadsamba-41c8aa4b991aad306d731b08d068c480eb5c7fed.tar.gz
samba-41c8aa4b991aad306d731b08d068c480eb5c7fed.tar.bz2
samba-41c8aa4b991aad306d731b08d068c480eb5c7fed.zip
tests python krb5: Add canonicalize flag to ASN1
Add the canonicalize flag to KerberosFlags, so that it can be used in python based canonicalization tests. Signed-off-by: Gary Lockyer <gary@catalyst.net.nz> Reviewed-by: Andrew Bartlett <abartlet@samba.org>
Diffstat (limited to 'python')
-rw-r--r--python/samba/tests/krb5/rfc4120.asn18
-rw-r--r--python/samba/tests/krb5/rfc4120_pyasn1.py4
2 files changed, 6 insertions, 6 deletions
diff --git a/python/samba/tests/krb5/rfc4120.asn1 b/python/samba/tests/krb5/rfc4120.asn1
index 98ba887729d..58e0c1636a1 100644
--- a/python/samba/tests/krb5/rfc4120.asn1
+++ b/python/samba/tests/krb5/rfc4120.asn1
@@ -196,8 +196,8 @@ KDCOptions ::= KerberosFlags
-- opt-hardware-auth(11),
-- unused12(12),
-- unused13(13),
--- 15 is reserved for canonicalize
- -- unused15(15),
+-- Canonicalize is used in RFC 6806
+ -- canonicalize(15),
-- 26 was unused in 1510
-- disable-transited-check(26),
--
@@ -489,8 +489,8 @@ KDCOptionsValues ::= BIT STRING { -- KerberosFlags
opt-hardware-auth(11),
unused12(12),
unused13(13),
--- 15 is reserved for canonicalize
- unused15(15),
+-- Canonicalize is used by RFC 6806
+ canonicalize(15),
-- 26 was unused in 1510
disable-transited-check(26),
--
diff --git a/python/samba/tests/krb5/rfc4120_pyasn1.py b/python/samba/tests/krb5/rfc4120_pyasn1.py
index 05304a8a099..b4ea678afd8 100644
--- a/python/samba/tests/krb5/rfc4120_pyasn1.py
+++ b/python/samba/tests/krb5/rfc4120_pyasn1.py
@@ -1,5 +1,5 @@
# Auto-generated by asn1ate v.0.6.1.dev0 from rfc4120.asn1
-# (last modified on 2020-05-06 17:51:00.323318)
+# (last modified on 2020-11-03 14:07:15.270009)
# KerberosV5Spec2
from pyasn1.type import univ, char, namedtype, namedval, tag, constraint, useful
@@ -610,7 +610,7 @@ KDCOptionsValues.namedValues = namedval.NamedValues(
('opt-hardware-auth', 11),
('unused12', 12),
('unused13', 13),
- ('unused15', 15),
+ ('canonicalize', 15),
('disable-transited-check', 26),
('renewable-ok', 27),
('enc-tkt-in-skey', 28),