On 27 Apr 2013, at 12:11, Mehdi Ravanbakhsh <[email protected]> wrote:

> Dear  All
> 
> 
> I need to remove "m" character in end of all username
> 
> i think i should use hint but i can not find how ?

authorize {
        if (User-Name =~ /^(.*)m$/) {
                update request {
                        User-Name := "%{1}"
                }
        }
}

Arran Cudbard-Bell <[email protected]>
FreeRADIUS Development Team

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

Reply via email to