[30591] in CVS-changelog-for-Kerberos-V5
krb5 commit: Fix t_otp.py for pyrad 2.2
daemon@ATHENA.MIT.EDU (Greg Hudson)
Mon Oct 21 15:50:05 2019
Date: Mon, 21 Oct 2019 15:49:57 -0400
From: Greg Hudson <ghudson@mit.edu>
Message-ID: <201910211949.x9LJnvG6008989@drugstore.mit.edu>
To: <cvs-krb5@mit.edu>
MIME-Version: 1.0
Reply-To: krbdev@mit.edu
Content-Type: text/plain; charset="us-ascii"
Content-Transfer-Encoding: 7bit
Errors-To: cvs-krb5-bounces@mit.edu
https://github.com/krb5/krb5/commit/e60d01eb1686e112fba4743d4216ba61fec2bdc0
commit e60d01eb1686e112fba4743d4216ba61fec2bdc0
Author: Greg Hudson <ghudson@mit.edu>
Date: Mon Oct 21 13:56:55 2019 -0400
Fix t_otp.py for pyrad 2.2
pyrad 2.2 throws a KeyError exception in DecodePacket if any
attributes from the packet are not defined in the dictionary. Add a
dictionary entry for Service-Type so this doesn't happen.
ticket: 8841 (new)
tags: pullup
target_version: 1.17-next
target_version: 1.16-next
src/tests/t_otp.py | 1 +
1 files changed, 1 insertions(+), 0 deletions(-)
diff --git a/src/tests/t_otp.py b/src/tests/t_otp.py
index 7406541..cba871a 100755
--- a/src/tests/t_otp.py
+++ b/src/tests/t_otp.py
@@ -47,6 +47,7 @@ except ImportError:
radius_attributes = '''
ATTRIBUTE User-Name 1 string
ATTRIBUTE User-Password 2 octets
+ATTRIBUTE Service-Type 6 integer
ATTRIBUTE NAS-Identifier 32 string
'''
_______________________________________________
cvs-krb5 mailing list
cvs-krb5@mit.edu
https://mailman.mit.edu/mailman/listinfo/cvs-krb5