Re: Modify packet proxied to a specific realm [Solved in 2 ways]

2004-06-16 Thread Alan DeKok
Kostas Zorbadelos <[EMAIL PROTECTED]> wrote:
> Since the atrr_rewrite module and the preproxy_users are said to be
> 'experimental' which one would you recommend for use in a production
> environment? Is any of this going to go away in 1.0.0 or the future?

  I would recommend preproxy_users, simply because it's easier to
configure.

  The only reason that both are marked "experimental" is that they
weren't heavily tested.  They're probably OK now (~8 months or more
after they were written.)

  Alan DeKok.


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


Re: Modify packet proxied to a specific realm [Solved in 2 ways]

2004-06-16 Thread Kostas Zorbadelos
At Tue, 15 Jun 2004 11:55:00 -0400,
Alan DeKok wrote:
> 
>   Please don't CC me on messages.  I already read the list, and I
> don't need to see the same message twice.
>
Sorry Alan (replied to all by accident)

> > I wanted for every username of the form [EMAIL PROTECTED] to add 3 wispr
> > attributes (Location-Id, LocationName and LogoffUrl) to the access request
> > packets and 2 attributes (Location-Id, Location-Name) to the
> > accounting packets before they get proxied to the home radius.  
> 
>   In preproxy_users, you should be able to do:
> 
> #---
> DEFAULT   User-Name =~ "@testrealm$", Packet-Type == Access-Request
>   Wispr-Location-Id = "foo",
>   Wispr-LocationName = "bar",
>   ...
>
After adding the files module in pre-proxy section, worked like a charm.
Wonderful and elegant configuration (much better from the one I came
up with). Since the atrr_rewrite module and
the preproxy_users are said to be 'experimental' which one would you
recommend for use in a production environment? Is any of this going to
go away in 1.0.0 or the future?

Thanks for everything.
 
--   
  Kostas Zorbadelos
  Currently at: Otenet IT Department 
  mailto: [EMAIL PROTECTED]
  
  Out there in the darkness, out there in the night
  out there in the starlight, one soul burns brighter
  than a thousand suns.


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