[+SPAM+]: Re: Returning Vendor Specific Attribute in radius reply

Siddiqui Najam Najam.Siddiqui at gemalto.com
Wed Aug 23 00:17:52 CEST 2017


Thanks for the response Alan.

I have a backend server that can return any VSA, and the attribute is returned as a hex string. so I have to handle this dynamically.

In version 2.X this was working fine. However, with 3.X (rlm_python) I am having this issue.


-----Original Message-----
From: Freeradius-Users [mailto:freeradius-users-bounces+najam.siddiqui=gemalto.com at lists.freeradius.org] On Behalf Of Alan DeKok
Sent: Tuesday, August 22, 2017 5:02 PM
To: FreeRadius users mailing list <freeradius-users at lists.freeradius.org>
Subject: [+SPAM+]: Re: Returning Vendor Specific Attribute in radius reply

On Aug 22, 2017, at 4:20 PM, Siddiqui Najam <Najam.Siddiqui at gemalto.com> wrote:
> I am trying to return a Cisco vendor specific attribute from a python module by adding it to the reply tuple as:
>
> (Attr-26, '0x00000009010f54657374417474726962757465')

  Why not just add it as a Cisco VSA?

  Cisco-AVPair = "foo"

> But I am getting the following error in the logs:
>
> Debug: authenticate - Failed: 'reply:Attr-26'  '0x00000009010f54657374417474726962757465'
>
> Any ideas, how I can add VSA to the reply tuple from the python module?

  Add it has a Cisco attribute, not as a string of hex numbers.

  Alan DeKok.


-
List info/subscribe/unsubscribe? See http://www.freeradius.org/list/users.html
________________________________
 This message and any attachments are intended solely for the addressees and may contain confidential information. Any unauthorized use or disclosure, either whole or partial, is prohibited.
E-mails are susceptible to alteration. Our company shall not be liable for the message if altered, changed or falsified. If you are not the intended recipient of this message, please delete it and notify the sender.
Although all reasonable efforts have been made to keep this transmission free from viruses, the sender will not be liable for damages caused by a transmitted virus.



More information about the Freeradius-Users mailing list