Hello Alan,
Alan DeKok wrote:
George Chelidze <[EMAIL PROTECTED]> wrote:
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...
No. They are different attributes.
I know they are different, and I think you mean to use
sql_user_name = "%{Stripped-User-Name:-%{User-Name:-DEFAULT}}instead of
sql_user_name = "%{User-Name}"The only thing I don't understand in this case is the following comments from proxy.conf
# A standard realm entry. A request from "[EMAIL PROTECTED]" will be # sent to radius.company.com as "user", unless the 'nostrip' # configuration item is specified. If the 'nostrip' configuration # item is specified, then the request will be proxied as # "[EMAIL PROTECTED]"
doesn't that mean that User-Name which is "[EMAIL PROTECTED]" before proxying will became "test" in proxy request?
Go back and read the REST of "sql.conf", and KEEP LOOKING for "sql_user_name". There are instructions in the comments which tell you how to solve your problem.
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

