Hi All,

We are running a FreeRadius 0.8 box as a Proxy Server.-

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}

We understand that it should be done by attr_rewrite module and wrote this:

attr_rewrite fixusername {
             Attribute = User-Name
             searchin = packet
             searchfor = "###"
            replacewith =
"$$$"+%{Stripped-User-Name}+"$"+%{Acct-Unique-Session-Id}
            ignore_case = no
            max_matches = 1
            New_Attribute = no
            }

But looking at debug information, we see it doesn't work as expected.-
What are we doing wrong???
Awaiting and thanks for your comments in advance.-
Carlos






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

Reply via email to