krb5 commit [krb5-1.13]: Fix OTP tests with pyrad 2.x
Tom Yu
tlyu at mit.edu
Fri Jan 16 17:23:44 EST 2015
https://github.com/krb5/krb5/commit/0b65438bbe5906a857f95e5a5dd4739021d4b57b
commit 0b65438bbe5906a857f95e5a5dd4739021d4b57b
Author: Greg Hudson <ghudson at mit.edu>
Date: Mon Dec 22 18:37:36 2014 -0500
Fix OTP tests with pyrad 2.x
Declare User-Password as having type "octets" instead of "string" or
pyrad 2.x will throw a decoding error when retrieving it.
(cherry picked from commit 57dc24093015d292189ef23313ef8ff2a81431e4)
ticket: 8053
version_fixed: 1.13.1
status: resolved
src/tests/t_otp.py | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
diff --git a/src/tests/t_otp.py b/src/tests/t_otp.py
index e114f03..c2ec48d 100644
--- a/src/tests/t_otp.py
+++ b/src/tests/t_otp.py
@@ -46,7 +46,7 @@ except ImportError:
# we'll just include them here.
radius_attributes = '''
ATTRIBUTE User-Name 1 string
-ATTRIBUTE User-Password 2 string
+ATTRIBUTE User-Password 2 octets
ATTRIBUTE NAS-Identifier 32 string
'''
More information about the cvs-krb5
mailing list