Vendor-Specific attribute with rlm_rest

Michael A Carpenter - macarpen@us.ibm.com macarpen at us.ibm.com
Thu May 7 20:17:21 CEST 2020


I'm trying to return the Vendor-Specific attribute with value "H=4,I=4" using the rlm_rest module. I've tried the following authorization response payloads:

{"Attr-26": "0x483d342c493d34"}

{"Vendor-Specific": "H=4,I=4"}

Both resulted in error:

(0) aaa-api: Processing response header
(0) aaa-api:   Status : 200 (OK)
(0) aaa-api:   Type   : json (application/json)
(0) aaa-api: Parsing attribute "Attr-26"
(0) aaa-api: EXPAND 0x483d342c493d34
(0) aaa-api:    --> 0x483d342c493d34
(0) aaa-api: WARNING: Incompatible value assignment for attribute "Vendor-Specific", skipping...

(1) aaa-api: Processing response header
(1) aaa-api:   Status : 200 (OK)
(1) aaa-api:   Type   : json (application/json)
(1) aaa-api: Parsing attribute "Vendor-Specific"
(1) aaa-api: EXPAND H=4,I=4
(1) aaa-api:    --> H=4,I=4
(1) aaa-api: WARNING: Incompatible value assignment for attribute "Vendor-Specific", skipping...

Any suggestions for what might be incompatible about the value?

# radiusd -v
radiusd: FreeRADIUS Version 3.0.20, for host x86_64-alpine-linux-musl, built on Apr 20 2020 at 16:30:06



More information about the Freeradius-Users mailing list