Answer my own question, it's in the dialup.conf root@chronos:~# vim /etc/freeradius/sql/mysql/dialup.conf
Uncomment this line; sql_user_name = "%{%{Stripped-User-Name}:-%{%{User-Name}:-DEFAULT}}" ####################################################################### # Query config: Username ####################################################################### # This is the username that will get substituted, escaped, and added # as attribute 'SQL-User-Name'. '%{SQL-User-Name}' should be used below # everywhere a username substitution is needed so you you can be sure # the username passed from the client is escaped properly. # # Uncomment the next line, if you want the sql_user_name to mean: # # Use Stripped-User-Name, if it's there. # Else use User-Name, if it's there, # Else use hard-coded string "DEFAULT" as the user name. sql_user_name = "%{%{Stripped-User-Name}:-%{%{User-Name}:-DEFAULT}}" # sql_user_name = "%{User-Name}" Thanks me :) On Mon, Jun 10, 2013 at 9:20 AM, Ross <r...@rosslisa.net> wrote: > > On 09/06/2013 11:01 PM, "Alan DeKok" <al...@deployingradius.com> wrote: > > > > geebs wrote: > > > I don't recall having to setup a realm in previous installs. > > > > You always had to set up a realm in previous installs. > > > > Alan DeKok. > > - > > List info/subscribe/unsubscribe? See > http://www.freeradius.org/list/users.html > > Ok, so where do I setup the realm and then strip the realm? I'm using > mysql. > Some assistance would be greatly appreciated :) >
- List info/subscribe/unsubscribe? See http://www.freeradius.org/list/users.html