Le Fri, Aug 11, 2006 at 02:48:33PM -0400, Alan DeKok ecrivait:
> Scott Lambert <[EMAIL PROTECTED]> wrote:
> > I was thinking about putting everything into mysql/postgresql databases.
> 
>   That gets a little harder, because you effectively have 3 passwords
> for the user, and want any one of them to work.  Th eserver sn't
> really set up to do that right now...
> 
>   It could be done with a little bit of work, which isn't hard, but
> it's a rare enough request that it hasn't been done until now.

I would do it that way:

I would use hints file to rewrite the User-Name depending on the
Called-Station-ID and Medium-Type.

This way you could:

- rewrite dialup user bob into [EMAIL PROTECTED] when Called-Station-Id is 
present
- rewrite DSL user bob [EMAIL PROTECTED] when Called-Station-Id isn't present

This way you can have [EMAIL PROTECTED] and [EMAIL PROTECTED] into the same 
database
without any problem.

It's a bit tricky, any easier way Alan ?

Regards,
Fox.

Attachment: signature.asc
Description: Digital signature

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

Reply via email to