Conditionally passing custom attributes

Alan DeKok aland at
Tue May 15 23:54:58 CEST 2012

Chad Lensert wrote:
> freeradius-server-utils-2.1.1-
> freeradius-server-libs-2.1.1-
> freeradius-server-2.1.1-7.10.1

  Why?  2.1.1 was released almost 4 years ago.

> Greetings all.  I am trying to pass a list of custom attributes based on the information in the radius request.  Originally, I tried matching on NAS-IP-Address as noted below, but it looks like I can also match on Client-IP-Address, which I would prefer.  The issue I am having is that I don't see radius matching the right entry in the users file and returning specific custom attributes.  I can't determine why it is choosing the last user entry in the users file.
> Here is an example of the users file.  I expect the information from the request to match the first entry for user "chad".

  Well, it should work.  It works for me in my testing.

  Alan DeKok.

More information about the Freeradius-Users mailing list