]> git.ipfire.org Git - thirdparty/krb5.git/commitdiff
Fix OTP tests with pyrad 2.x 239/head
authorGreg Hudson <ghudson@mit.edu>
Mon, 22 Dec 2014 23:37:36 +0000 (18:37 -0500)
committerGreg Hudson <ghudson@mit.edu>
Sun, 4 Jan 2015 23:25:28 +0000 (18:25 -0500)
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

src/tests/t_otp.py

index e114f03b9d2c20a9f5b30c8b0bea3ddfc159038e..c2ec48d2b691b18458f5cca0ca16b5d9f8de824f 100644 (file)
@@ -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
 '''