RE: cannot return access accept from proxy to client
I suspect that the freeradius will return failed at once when "username" attribute is not found and because the username attribute won't be included in the "access-accept' packet . The "sql" can be executed successfully when host B acts as authentication server. So maybe I should ask can freeradius be configured as both authentication server and proxy server at the same host ? Hope someone can help on this. Many thanks! ================================================================ You should make the SQL query so that it won't make an error when certain attributes are not present or empty. See the example sql.conf file. Turn sql traces on and run in debug mode to see what queries are done. Check why they are failing and correct the queries. -- Groeten, Regards, Salutations, ____________________________________________________________ (c) 2005 Interactive Technology Holdings Limited Group. All rights reserved. CONFIDENTIALITY: This communication and any attachment(s) is intended solely for the person or organisation to which it is addressed and it may be confidential. This communication may contain confidential or legally privileged material and may not be copied, redistributed or published (in whole or in part) without our prior written consent. This communication may have been intercepted, partially destroyed, arrive late, incomplete or contain viruses and no liability is accepted by any member of the Interactive Technology Holdings Limited Group as a result. If you are not the intended recipient, employee or agent responsible for delivering the message to the intended recipient you must not copy, disclose, distribute or take any action in reliance on it. If you have received this communication in error, please immediately reply and highlight the error to the sender immediately and destroy the original from your computer.
"Wilson Lie" <wilson.lie@ithlgroup.com> wrote:
I suspect that the freeradius will return failed at once when "username" attribute is not found and because the username attribute won't be included in the "access-accept' packet .
No. FreeRADIUS doesn't care about User-Name's in Access-Accept.
The "sql" can be executed successfully when host B acts as authentication server.=20
Look at the differences between the two queries. They ARE different.
So maybe I should ask can freeradius be configured as both authentication server and proxy server at the same host ?
Yes. Many, many people have configured this successfully. If your site doesn't work, it's because something is going wrong in your local config, and debug mode will tell you. Alan DeKok.
participants (2)
-
Alan DeKok -
Wilson Lie