On Fri, 17 Oct 2003, Steve Fulton wrote:

> Hi all,
>
> I'm in the process of setting up a FreeRADIUS server to replace our
> ancient one, and part of our requirements mean using attr_rewrite.  Is
> there any decent documentation/how-to's out there on how it is used?

Other than the comments in radiusd.conf and 'man 5 regex' none.

>
> And FWIW, I'm going to share our logic, so please feel free to poke holes
> in it:
>
> 1.  We use "[EMAIL PROTECTED]".  If the realm is missing, we will use
> attr_write to add it.

proxy.conf:

realm NULL{
[...]
}

>
> 2.  Since we're AAA'ing using a SQL database, the username needs to be
> parsed so that the username and the realm/domain is split.  Then those,
> plus the password, are checked against the SQL DB.

This is done automatically by the realm module.

>
> Seem sane to you?

Yes but you probably don't need to even use the attr_rewrite module

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

--
Kostas Kalevras         Network Operations Center
[EMAIL PROTECTED]       National Technical University of Athens, Greece
Work Phone:             +30 210 7721861
'Go back to the shadow' Gandalf

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

Reply via email to