"Carlos Alejandro Aguero" <[EMAIL PROTECTED]> wrote:
> We need to change the User-Name according to following rules:
> -All User-Name starting with "###"
> -Change by: "$$$"+%{Stripped-User-Name}+"$"+%{Acct-Unique-Session-Id}
OK...
> attr_rewrite fixusername {
> Attribute = User-Name
> searchin = packet
> searchfor = "###"
> replacewith =
> "$$$"+%{Stripped-User-Name}+"$"+%{Acct-Unique-Session-Id}
Hmm... nothing in the server documentation indicates that "+" is
allowed to concatenate strings.
Try:
replacewith = "$$$%{Stripped-User-Name}$%{Acct-Unique-Session-Id}"
Alan DeKok.
-
List info/subscribe/unsubscribe? See http://www.freeradius.org/list/users.html