[ < ] | [ > ] | [ << ] | [ Up ] | [ >> ] | [Top] | [Contents] | [Index] | [ ? ] |
Replace-User-Name
ATTRIBUTE Replace-User-Name 2001 string |
Users: | | |
Hints: | | |
Huntgroups: | | |
Additivity: | Append | |
Proxy propagated: | No |
VALUE Replace-User-Name No 0 VALUE Replace-User-Name Yes 1 |
Use this attribute to modify the user name from the incoming packet. The
Replace-User-Name
can reference any attributes from both LHS
and RHS pairlists using attribute macros (Macro Substitution).
For example, the ‘users’ entry
guest NAS-IP-Address = 11.10.10.11, Calling-Station-Id != "" Auth-Type = Accept Replace-User-Name = "guest#%C{Calling-Station-Id}", Service-Type = Framed-User, Framed-Protocol = PPP |
allows the use of PPP service for user name guest
, coming from NAS
‘11.10.10.11’ with a nonempty Calling-Station-Id
attribute.
A string consisting of a ‘#’ character followed by the
Calling-Station-Id
value is appended to the user name.
This document was generated by Sergey Poznyakoff on December, 6 2008 using texi2html 1.78.