Alan DeKok wrote:
George Chelidze <[EMAIL PROTECTED]> wrote:
as I haven't specified nostrip directive I thought radius would query database with User-Name = 'test' but it uses User-Name = '[EMAIL PROTECTED]'. I looked at debug output and I found that 'test' is assigned to Stripped-User-Name, 'localhost' is assigned to Realm but sql module still uses [EMAIL PROTECTED] as User-Name.
Please read "sql.conf", and look for "sql_user_name"
sql_user_name = "%{User-Name}"
but As I understatnd User-Name should be equal Stripped-User-Name, seems I am wrong...
Alan DeKok.
- List info/subscribe/unsubscribe? See http://www.freeradius.org/list/users.html
Best Regards, -- George Chelidze
- List info/subscribe/unsubscribe? See http://www.freeradius.org/list/users.html