Thanks, Alan. I got it worked now by creating my own version of "Stripped-User-Name" in hints. So now I know more about how freeradius is working :-) Thanks everyone for all the replies. They may not head to the solution directly; but they really stimulate my thinking. Lai
-----Original Message----- From: freeradius-users-bounces+lfk=cc.hku.hk@lists.freeradius.org [mailto:freeradius-users-bounces+lfk=cc.hku.hk@lists.freeradius.org] On Behalf Of Alan DeKok Sent: Wednesday, January 24, 2007 8:43 PM To: FreeRadius users mailing list Subject: Re: Proxying based on SSID
Lai Fu Keung wrote:
1. Check the realm, which will set to DEFAULT, as the domain is unknown. The username is NOT stripped in the DEFAULT realm.
Then.... add a LOCAL realm of that domain. If that's impossible, use the "hints" file to match the user@domain by hand.
2. Then check the SSID inside FILE. Set the proxy-to-realm to local realm. The proxy is cancelled. But the username is still NOT stripped.
You can always add the Stripped-User-Name by hand, using the "hints" file.
Alan DeKok. -- http://deployingradius.com - The web site of the book http://deployingradius.com/blog/ - The blog - List info/subscribe/unsubscribe? See http://www.freeradius.org/list/users.html