Dynamically assign realm name when using DEFAULT realm
15 Mar
2010
15 Mar
'10
11:08 a.m.
I am using FreeRADIUS Version 1.1.3, for host i686-redhat-linux-gnu I am trying to take the username of a format 'realm/username' and have FreeRADIUS take the 'realm' and pass it on in a sql query using %{Realm} and take the 'username' and pass it on with %{SQL-User-Name}. I have found I can do a DEFAULT realm, but the realm is passed on as DEFAULT instead of the name of the realm that was tried. Is there a better way to get the realm the user entered and pass it on in a SQL query? I have a SQL table with usernames and locations. When a user authenticates I want the username to match the username field only if the realm matches the location field in the database. Jer
5959
Age (days ago)
5959
Last active (days ago)
0 comments
1 participants
participants (1)
-
Jer Peterson