What variables are available to the auth_check_query?
 
I want to do something like:
authorize_check_query = "SELECT id, username, attribute, value, op \
                                FROM ${authcheck_table} \
                                WHERE username = '%{SQL-User-Name}' \
                                AND allowed_NAS = '%{NAS-Identifier}'"
 
Unfortunately, when I log all database queries, the result is something
like:
 
SELECT id, username, attribute, value, op FROM radcheck 
WHERE username = 'brian' AND allowed_NAS = '%{NAS-Identifier}'"
 

Are the variables from the NAS unavailable to a SQL query for auth? All the
variables are working for the accounting entries.
 

Brian Andrus

 
Brian Andrus
FirstSpot, Inc.
(310) 899-WiFi
[EMAIL PROTECTED]
http://www.firstspot.net


- 
List info/subscribe/unsubscribe? See http://www.freeradius.org/list/users.html

Reply via email to