hints and stripped-user-name

Dusty Doris freeradius at mail.doris.cc
Tue Feb 14 22:00:56 CET 2006

> I have more hints trouble on another radius server. I want to look for a 
> realm and strip it if it is there, else, send on the username untouched.
>        User-Name = "renisdn at camalott.com"

try this

DEFAULT User-Name =~ "^([^@]+)@camalott.com"
         User-Name := "%{1}"

More information about the Freeradius-Users mailing list