Multiple values for reply attributes in radreply

Christian Thomas christianmthomas at gmail.com
Tue Jan 3 13:45:17 CET 2012


Hello,

I am trying to send back the same attribute in radreply and /or
radgroupreply with different values to the NAS

example :
NAS send a Auth Request.
Freeradius accept the request and send back attributes in radreply (or
radgroupreply) (via sql table)

Problem : sending back the same attributes with different values seems to
not be possible. only the first attribute is sent back
radreply table (id/username/attribute/op/value) content:


2    toto    Cisco-AVPair    =
h323-ivr-in=Routing:192.168.1.10;expires=30;np_expires=40
3    toto    Cisco-AVPair    =
h323-ivr-in=Routing:192.168.1.20;expires=30;np_expires=40

I tried also without cisco-avpair in the same radreply table:

4    toto    h323-ivr-in    =
Routing:192.168.1.10;expires=30;np_expires=40
5    toto    h323-ivr-in    =
Routing:192.168.1.20;expires=30;np_expires=40

Both case the received attributes on NAS side
h323-ivr-in    =    Routing:192.168.1.10;expires=30;np_expires=40

Before these tests I tried simply the radtest tool for the same user and
apparently Freeradius is sending back ONLY the oldest ID from the table
radreply and NOT all the IDs matched by the select request.
Also tested using USERS file with the same replies :
h323-ivr-in    =    Routing:192.168.1.10;expires=30;np_expires=40,
h323-ivr-in    =    Routing:192.168.1.20;expires=30;np_expires=40,
Fall-Through = Yes

There is something to do in the configuration to fix /allow that?

regards
-- 
Christian Thomas
Mobile +55 (48) 8446 3575
Landline +55 (48) 3717 5005
Paris +33 1 8197 9899
USA +1 303 997 3242
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.freeradius.org/pipermail/freeradius-users/attachments/20120103/d592a8a1/attachment.html>


More information about the Freeradius-Users mailing list