Re: Set Pool-Name based on Framed-Pool

2007-02-27 Thread Alan DeKok
Pasi Kärkkäinen wrote:

> I can't find that file from the freeradius v1.1.4 tarball.. should that work
> with v1.1.4? Any examples? 

  Yes, and no.  See src/modules/rlm_files/rlm_files.c for more information.

  Alan DeKok.
--
  http://deployingradius.com   - The web site of the book
  http://deployingradius.com/blog/ - The blog
- 
List info/subscribe/unsubscribe? See http://www.freeradius.org/list/users.html


Re: Set Pool-Name based on Framed-Pool

2007-02-26 Thread Pasi Kärkkäinen
On Fri, Feb 23, 2007 at 02:36:15PM +0100, Alan DeKok wrote:
> Pasi Kärkkäinen wrote:
> >> users file:
> > 
> > DEFAULT Framed-Pool == "tech", Pool-Name := tech_ippool
> > Fall-Through = 1
> > 
> > I can see the "Framed-Pool" attribute in proxy auth reply (with correct
> > value), but when freeradius is processing "users" file, the above line does 
> > not
> > match..
> 
>   There is no "Framed-Pool" attribute in the request.  You want to use
> the "postproxy_users" file.
> 

Thanks for your reply.

I can't find that file from the freeradius v1.1.4 tarball.. should that work
with v1.1.4? Any examples? 

Googling about it reveals that it might be only in CVS version (for 2.0) ??

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


Re: Set Pool-Name based on Framed-Pool

2007-02-23 Thread Alan DeKok
Pasi Kärkkäinen wrote:
>> users file:
> 
> DEFAULT Framed-Pool == "tech", Pool-Name := tech_ippool
>   Fall-Through = 1
> 
> I can see the "Framed-Pool" attribute in proxy auth reply (with correct
> value), but when freeradius is processing "users" file, the above line does 
> not
> match..

  There is no "Framed-Pool" attribute in the request.  You want to use
the "postproxy_users" file.

  Alan DeKok.
--
  http://deployingradius.com   - The web site of the book
  http://deployingradius.com/blog/ - The blog
- 
List info/subscribe/unsubscribe? See http://www.freeradius.org/list/users.html


Set Pool-Name based on Framed-Pool

2007-02-23 Thread Pasi Kärkkäinen
Hi list!

I'm having problems setting Freeradius internal "Pool-Name" attribute based
on "Framed-Pool" attribute (in proxy auth reply).

users file:

DEFAULT Framed-Pool == "tech", Pool-Name := tech_ippool
Fall-Through = 1

I can see the "Framed-Pool" attribute in proxy auth reply (with correct
value), but when freeradius is processing "users" file, the above line does not
match..

What's wrong with that line? 

Thanks!

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