Hints & Huntgroups
Should I be able to either.... 1) Set a Huntgroup via the huntgroups file (matching on NAS-IP-Address) and use that in the Hints file as a match (Huntgroup-Name == "blah") or 2) Set a Hint in the hints file and use that to define as the match for the Huntgroup Currently testing on FreeRADIUS Version 1.1.0 and the files seem to be parsed independently so attributes modified/added in one aren't visible in the other ? Essentially I'd like to set both a huntgroup and perform some username substitution in hints on queries from the same set of NAS. I can define the full set of NAS in both files of course but was hoping to only define the list of NAS-IP-Address once. Ideally set the Huntgroup first and then use the Huntgroup-Name in the Hints file. Thanks Dean Smith
UNCLASSIFIED
-----Original Message----- From: freeradius-users-bounces+frank.ranner=defence.gov.au@lists.fre eradius.org [mailto:freeradius-users-> bounces+frank.ranner=defence.gov.au@lists.freeradius.org] On Behalf Of Dean Smith Sent: Thursday, 3 April 2008 09:20 To: freeradius-users@lists.freeradius.org Subject: Hints & Huntgroups
Should I be able to either....
1) Set a Huntgroup via the huntgroups file (matching on NAS-IP-Address) and use that in the Hints file as a match (Huntgroup-Name == "blah") or 2) Set a Hint in the hints file and use that to define as the match for the Huntgroup
Currently testing on FreeRADIUS Version 1.1.0 and the files seem to be
parsed independently so attributes modified/added in one aren't visible in the other ?
Essentially I'd like to set both a huntgroup and perform some username
substitution in hints on queries from the same set of NAS. I can define the full set of NAS in both files of course but was hoping to only define the list of NAS-IP-Address once. Ideally set the Huntgroup
first and then use the Huntgroup-Name in the Hints file.
Thanks
Dean Smith
- List info/subscribe/unsubscribe? See http://www.freeradius.org/list/users.html
Hints is processed first, then Huntgroups. You can set up 2 instances of preprocess, process huntgroups in the first instance and hints in the second. You can also set the Huntgroup item in hints as the result of an sql or ldap lookup. Once the huntgroup variable exists, further huntgroup sections exit immediately. Regards, Frank Ranner
participants (2)
-
Dean Smith -
Ranner, Frank MR