Using username at and plain username

Phil Mayers p.mayers at
Wed Sep 19 11:41:02 CEST 2012

On 09/18/2012 10:22 PM, Kriston wrote:
> I have users who log in as "username at" and just as "username".
> How do I append only to those users who don't have
> already?  I have a fairly generic FreeRADIUS 2.1.10 installation that
> connects to a MySQL server.
> I've tried a number of different things in dialup.conf but none have worked.
> Example 1:
> sql_user_name = "{%{Stripped-User-Name}:-%{User-Name}}@{%{Realm}}"

You're missing a couple of leading "%" there. Look carefully.

Specifically, right after the opening quote, and right after the @ sign.

More information about the Freeradius-Users mailing list