Strip off the domain part from the User-Name

Alan DeKok aland at
Fri Mar 25 20:09:44 CET 2011

Robert Roll wrote:
> We're currently running 2.1.10..
>  I seemed to notice that the "Out of the Box Config" does not seem to actually create
> a Stripped-Username and Realm.

  It creates those attributes if you define a realm.  If you don't
define a realm, it doesn't know how to create a "Realm" attribute.

> I did find that when I created a "real" realm in the proxy.conf
> file, then a Stripped-Username and Realm were available.


> So, I thought that if I really wanted 
> ALL usernames "stripped" into their component parts, I would just change the realm
> in the proxy.conf file to be "DEFAULT" ?  This then seemed to send the request into some sort of
> endless loop ?

  Uh.. if you don't read the documentation and don't understand what
you're doing, it probably won't do what you want.

  Rather than randomly making changes, perhaps you could explain what
you're trying to do, and why.

  Alan DeKok.

More information about the Freeradius-Users mailing list