Adding an attribute to an incoming Access-Request

Roy Walker rwalker at sensorlogic.com
Fri Jul 6 22:40:26 CEST 2007


Added this to the hints file:

 

DEFAULT Suffix == "", Strip-User-Name = No

        Hint = "GPRS",

        NAS-Port = 0

 

Worked.

 

From:
freeradius-users-bounces+rwalker=sensorlogic.com at lists.freeradius.org
[mailto:freeradius-users-bounces+rwalker=sensorlogic.com at lists.freeradiu
s.org] On Behalf Of Roy Walker
Sent: Friday, July 06, 2007 3:15 PM
To: FreeRadius users mailing list
Subject: Adding an attribute to an incoming Access-Request

 

I have played with this a bit and can't seem to get it working...

 

I need to add the "NAS-Port = 0" attribute to an incoming request if it
is not set.  This is currently breaking my sqlippool config and the
upstream partner making the requests is not giving me a NAS-Port
attribute.

 

It looks like this should be done in the preprocess section, however the
hints looks like it only works with a username and huntgroups doesn't
really do what I need...

 

Anyone got an idea?

 

Thanks,

Roy 

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.freeradius.org/pipermail/freeradius-users/attachments/20070706/a7414583/attachment.html>


More information about the Freeradius-Users mailing list