<html><div style='background-color:'><DIV class=RTE>
<P> I think both are wrong because you must distinguish amog the different SSIDs that an AP broadcast. It sometimes happens the wireless MAC are the same for all SSIDs. Only some devices (such as Mikrotik) let change the MAC for each ESSID.</P>
<P> Another thing is you have to differenciate the ESSID in your user manager. A solutions can be via VLAN's and your user manager chooses the ESSID by the VLAN adding a posible prefix to the username.</P>
<P> I use Mikrotik device which distinguish the ESSID via MAC and I can add the prefix because each ESSID have its own login page.<BR><BR></P></DIV>
<DIV></DIV>
<BLOCKQUOTE style="PADDING-LEFT: 5px; MARGIN-LEFT: 5px; BORDER-LEFT: #a0c6e5 2px solid; MARGIN-RIGHT: 0px"><FONT style="FONT-SIZE: 11px; FONT-FAMILY: tahoma,sans-serif">
<HR color=#a0c6e5 SIZE=1>
<DIV></DIV>From: <I>Alan DeKok <aland@deployingradius.com></I><BR>Reply-To: <I>FreeRadius users mailing list <freeradius-users@lists.freeradius.org></I><BR>To: <I>FreeRadius users mailing list <freeradius-users@lists.freeradius.org></I><BR>Subject: <I>Re: Proxying based on SSID</I><BR>Date: <I>Wed, 24 Jan 2007 08:18:02 +0100</I><BR>>Lai Fu Keung wrote:<BR>> > Normally, I proxy a PEAP request whenever the realm is unknown to us<BR>> > (i.e. using the DEFAULT realm without stripping user name). However, for<BR>> > some SSIDs, I want requests to be handled locally with ldap, independent<BR>> > of what the realm is (and with the user name stripped). What I did is to<BR>> > find those SSIDs in "Called-Station-ID" and<BR>> > set proxy-to-realm to a local
realm.<BR>><BR>> OK...<BR>><BR>> > But the problem (I guess) is that when freeradius processes the realm<BR>> > file, the user name is not stripped. When later on processed by the<BR>> > local realm, the request fails because the user name still contains the<BR>> > domain.<BR>><BR>> The problem is that the realms file *isn't* being processed. That's<BR>>why the user names aren't stripped.<BR>><BR>> You can always put the check for SSID *after* the check for the<BR>>realms. In that case, the usernames will be stripped, and the SSID<BR>>check can cancel any proxying, just like you do now.<BR>><BR>> Alan DeKok.<BR>>--<BR>> http://deployingradius.com - The web site of the book<BR>>
http://deployingradius.com/blog/ - The blog<BR>>-<BR>>List info/subscribe/unsubscribe? See http://www.freeradius.org/list/users.html<BR></FONT></BLOCKQUOTE></div><br clear=all><hr>Recibe ofertas de empleo adaptadas a tu perfil. <a href="http://g.msn.com/8HMBESES/2752??PS=47575" target="_top">Introduce tu CV en MSN Empleo.</a> </html>