RE: Hints Huntgroups [SEC=UNCLASSIFIED] (Ranner, Frank MR)

2008-04-03 Thread Dean Smith
Thanks Frank

I'd tried two instances of preprocess but couldn't get it to work. I'll do
some reading and try again.

I have got the huntgroup now set in the Hints file though so immediate
problem solved

Thanks again
Dean

--

Message: 4
Date: Thu, 3 Apr 2008 11:06:17 +1100
From: Ranner, Frank MR [EMAIL PROTECTED]
Subject: RE: Hints  Huntgroups [SEC=UNCLASSIFIED]
To: FreeRadius users mailing list
freeradius-users@lists.freeradius.org

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 


-
List info/subscribe/unsubscribe? See http://www.freeradius.org/list/users.html


Hints Huntgroups

2008-04-02 Thread Dean Smith
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


RE: Hints Huntgroups [SEC=UNCLASSIFIED]

2008-04-02 Thread Ranner, Frank MR
UNCLASSIFIED


 -Original Message-
 From: 
 [EMAIL PROTECTED]
eradius.org [mailto:freeradius-users-
[EMAIL PROTECTED] 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 

Classification=UNCLASSIFIED
Precedence=ROUTINE
-
List info/subscribe/unsubscribe? See http://www.freeradius.org/list/users.html