From: Greg Hudson Date: Mon, 22 Dec 2014 23:37:36 +0000 (-0500) Subject: Fix OTP tests with pyrad 2.x X-Git-Tag: krb5-1.14-alpha1~186 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=57dc24093015d292189ef23313ef8ff2a81431e4;p=thirdparty%2Fkrb5.git 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. ticket: 8053 (new) target_version: 1.13.1 tags: pullup --- diff --git a/src/tests/t_otp.py b/src/tests/t_otp.py index e114f03b9d..c2ec48d2b6 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 '''