regexps huh!! care you post an example please? Thanks, --- Jonathan De Graeve <Jonathan.De.Graeve@imelda.be> wrote:
-----Oorspronkelijk bericht----- Van: freeradius-users-
bounces+jonathan.de.graeve=imelda.be@lists.freeradius.org
[mailto:freeradius-users-
bounces+jonathan.de.graeve=imelda.be@lists.freeradius.org]
Namens Agent
Smith Verzonden: zaterdag 11 februari 2006 18:08 Aan: FreeRadius users mailing list Onderwerp: Re: multiple huntgroup, same NAS-IP
I have 100s of users but here is an example. goal: user u1: has access from NAS-IP 192.168.50.5 user u2: has access from NAS-IP 192.168.5 and 6
currently I have huntgroup defination such as, hu1 NAS-IP-Address 192.168.50.5 hu2 NAS-IP-Adderss 192.168.50.6
Then in the users file, (sorry if the syntax is not exactly correct here) u1 Auth-by: Local, huntgroup: hu1 u2 Auth-by: Local, hungrroup: hu2 #then also, u1 Auth-by: Local, huntgroup: hu2
Using regexp you can match both, that's how I do it
- List info/subscribe/unsubscribe? See http://www.freeradius.org/list/users.html
__________________________________________________ Do You Yahoo!? Tired of spam? Yahoo! Mail has the best spam protection around http://mail.yahoo.com