[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Help-gnu-radius] Rewrite Nas-Identifier
From: |
Sergey Poznyakoff |
Subject: |
Re: [Help-gnu-radius] Rewrite Nas-Identifier |
Date: |
Wed, 04 Aug 2004 10:37:53 +0300 |
Morten Winther <address@hidden> wrote:
> I need to prepend a string to Nas-Identifier when we proxy requests to
> roaming partners.
>
> How can I do this without changing the NAS-Identifier in my own
> accounting in mysql?
Assuming your previous setup (i.e. proxying based on prefix):
# raddb/hints:
DEFAULT Prefix = "parter/",
Strip-User-Name = Yes
Replace-User-Name = "address@hidden",
NAS-Identifier = "=\"proxied-from/\" + %[NAS-Identifier]"
# raddb/dictionary:
PROPERTY NAS-Identifier [L-LRLR]=
Regards,
Sergey