Re: Modifying username before proxying?

2001-10-23 Thread aland

[EMAIL PROTECTED] wrote:
> Need to modifying the username attribute before it gets sent on to the proxy
> based upone number that is dialed, only for certain numbers and not others.

  rlm_attr_rewrite should be updated to also look for rewrite
information in the list of configuration items.  But that requires
more source code patches.

  Alan DeKok.

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



Re: Modifying username before proxying?

2001-10-22 Thread supervisor

Need to modifying the username attribute before it gets sent on to the proxy
based upone number that is dialed, only for certain numbers and not others.

Any ideas about that one?

Thanks,

Brian
- Original Message -
From: "Chris Parker" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Monday, October 22, 2001 4:00 PM
Subject: Re: Modifying username before proxying?


> At 03:44 PM 10/22/2001 -0400, Brian Gordon wrote:
> >I forgot to mention, I need to only occur when a user dials into a
specific
> >phone number.
> >
> >Brian
> >- Original Message -
> >From: <[EMAIL PROTECTED]>
> >To: <[EMAIL PROTECTED]>
> >Sent: Monday, October 22, 2001 2:51 PM
> >Subject: Re: Modifying username before proxying?
> >
> >
> >"Brian Gordon" <[EMAIL PROTECTED]> wrote:
> > > Modifying the username attribute by adding a "@somedomain.com" to the
> > > username before proxying it over to another radius server?  This would
be
> >a
> > > very cool feature for us for a  certain need.
> >
> >   rlm_attr_rewrite may do this already.  See raddb/radiusd.conf
>
> See also setting 'Proxy-To-Realm := "domain.com"'
>
> Ala:
>
> userCalling-Station-Id = "5551212", Proxy-To-Realm := "domain.com"
>  Fall-Through = No
>
> Probably much easier than trying to rewrite attributes.  :)
>
> -Chris
>
> --
> \\\|||///  \  Chris Parker-Manager, Development Engineering
> \ ~   ~ /   \   WX *is* Wireless!\   [EMAIL PROTECTED]
> | @   @ |\   http://www.starnetwx.net \  (847) 963-0116
> oOo---(_)---oOo--\--
>\ Without C we would have 'obol', 'basi', and 'pasal'
>
>
> -
> List info/subscribe/unsubscribe? See
http://www.freeradius.org/list/users.html
>


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



Re: Modifying username before proxying?

2001-10-22 Thread Chris Parker

At 03:44 PM 10/22/2001 -0400, Brian Gordon wrote:
>I forgot to mention, I need to only occur when a user dials into a specific
>phone number.
>
>Brian
>- Original Message -
>From: <[EMAIL PROTECTED]>
>To: <[EMAIL PROTECTED]>
>Sent: Monday, October 22, 2001 2:51 PM
>Subject: Re: Modifying username before proxying?
>
>
>"Brian Gordon" <[EMAIL PROTECTED]> wrote:
> > Modifying the username attribute by adding a "@somedomain.com" to the
> > username before proxying it over to another radius server?  This would be
>a
> > very cool feature for us for a  certain need.
>
>   rlm_attr_rewrite may do this already.  See raddb/radiusd.conf

See also setting 'Proxy-To-Realm := "domain.com"'

Ala:

userCalling-Station-Id = "5551212", Proxy-To-Realm := "domain.com"
 Fall-Through = No

Probably much easier than trying to rewrite attributes.  :)

-Chris

--
\\\|||///  \  Chris Parker-Manager, Development Engineering
\ ~   ~ /   \   WX *is* Wireless!\   [EMAIL PROTECTED]
| @   @ |\   http://www.starnetwx.net \  (847) 963-0116
oOo---(_)---oOo--\--
   \ Without C we would have 'obol', 'basi', and 'pasal'


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



Re: Modifying username before proxying?

2001-10-22 Thread Brian Gordon

I forgot to mention, I need to only occur when a user dials into a specific
phone number.

Brian
- Original Message -
From: <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Monday, October 22, 2001 2:51 PM
Subject: Re: Modifying username before proxying?


"Brian Gordon" <[EMAIL PROTECTED]> wrote:
> Modifying the username attribute by adding a "@somedomain.com" to the
> username before proxying it over to another radius server?  This would be
a
> very cool feature for us for a  certain need.

  rlm_attr_rewrite may do this already.  See raddb/radiusd.conf

  Alan DeKok.

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



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



Re: Modifying username before proxying?

2001-10-22 Thread aland

"Brian Gordon" <[EMAIL PROTECTED]> wrote:
> Modifying the username attribute by adding a "@somedomain.com" to the
> username before proxying it over to another radius server?  This would be a
> very cool feature for us for a  certain need.

  rlm_attr_rewrite may do this already.  See raddb/radiusd.conf

  Alan DeKok.

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



Modifying username before proxying?

2001-10-22 Thread Brian Gordon

Has anyone done this yet?

Modifying the username attribute by adding a "@somedomain.com" to the
username before proxying it over to another radius server?  This would be a
very cool feature for us for a  certain need.

Thanks,

Brian Gordon
[EMAIL PROTECTED]



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