Stripped username

Cliff Hayes chayes at afo.net
Tue Jun 13 17:45:51 CEST 2006


Hello,

New user making good progress.  Can see light at end of tunnel.

I need to be able to only store the username without realm in the MySQL
radcheck table.

In the sql.conf file, I have tried commenting out the following:

        #sql_user_name = "%{User-Name}"

...and un-commenting the following:

        sql_user_name = "%{Stripped-User-Name:-%{User-Name:-DEFAULT}}"

...and it does not work.  But, if I put the username with realm in the
radcheck table, then it works.

I also uncommented the following in the sql.conf file:

        default_user_profile = "DEFAULT"

Cliff




More information about the Freeradius-Users mailing list