Perform radius authentication lookups
Hi,
I am trying to perform radius authentication requests using yradius.conf:
The radius server expect two standard attributes, which have to been set up by Yate: The "User-Name"
(always the called party number, but without the first char, e. g. +49310 -> 49310) and the
"User-Password" (always clear-text: "radius").
For reference:
--
[nas]
add:User-Name=${caller} ;;;;; question: how can we cut the first char (+)? ;;;;;
add:User-Password=radius
--
The query goes through the radius server, but Yate do not provide the "User-Password" attribute.
Trace:
--
<yradius:NOTE> Using sections [nas] and [radius common] for authentication
<yradius:GOON> Ignoring unknown attribute of type 1
--
In the source code, the "User-Password" attribute is definied as binary, while "User-Name" is defined as
string. Is it possible, to set a binary (string) attribute in the yradius.conf file?
Thanks,
Philipp.
(Continue reading)