Users: | LR |
Hints: | LR |
Huntgroups: | -- |
Additivity: | Append |
Proxy propagated: | No |
VALUE Replace-User-Name No 0 VALUE Replace-User-Name Yes 1
Use this attribute to modify username from the incoming packet. The
Replace-User-Name
can reference any attributes from both LHS
and RHS pairlists using attribute macros section Macro Substitution.
For example the following `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 usage of PPP service for username guest, coming from NAS
`11.10.10.11' with non-empty Calling-Station-Id
attribute.
The string consisting of `#' character followed by
Calling-Station-Id
value is appended to the username.
Go to the first, previous, next, last section, table of contents.