<div dir="ltr">I was referring to the EAP-Response/Identity message. <div><br></div><div>You are right about forwarding the Radius messages, so instead I think I would try to use <a href="mailto:sessid%2Babc@example.com">sessid+abc@example.com</a> instead. So that the radius proxies in the middle can still work well.</div>
<div><br></div><div>IS the get_identity() only called for re-authentication?</div><div><br></div><div>Thanks!</div></div><div class="gmail_extra"><br><br><div class="gmail_quote">On Sun, Aug 10, 2014 at 12:19 PM, Jouni Malinen <span dir="ltr"><<a href="mailto:j@w1.fi" target="_blank">j@w1.fi</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div class="">On Sun, Aug 10, 2014 at 11:47:38AM +0300, khali singh wrote:<br>
> The SessID need not be stored over restarts. What I was hoping is that the<br>
> first time I use the NAI as <a href="mailto:abc@example.com">abc@example.com</a> but for reauthentication I use<br>
> <a href="mailto:abc@example.com">abc@example.com</a>+sessid.<br>
><br>
> Should this be supplied in the init_for_reauth() method somehow?<br>
<br>
</div>Which EAP message are you talking about? Registering init_for_reauth()<br>
allows you to maintain EAP method state so that you can build the<br>
identity with the session id in the next run. If you want the<br>
alternative form of identity in EAP-Response/Identity message, then<br>
you can use the get_identity() callback for it (i.e., generate that<br>
identity with sessid in that callback of the EAP method implementation).<br>
Though, I'd recommend using proper NAI rather than an NAI with extra<br>
information added to its end for the EAP-Response/Identity message since<br>
that string gets used for forwarding the RADIUS (etc.) messages.<br>
<div class="HOEnZb"><div class="h5"><br>
--<br>
Jouni Malinen PGP id EFC895FA<br>
_______________________________________________<br>
HostAP mailing list<br>
<a href="mailto:HostAP@lists.shmoo.com">HostAP@lists.shmoo.com</a><br>
<a href="http://lists.shmoo.com/mailman/listinfo/hostap" target="_blank">http://lists.shmoo.com/mailman/listinfo/hostap</a><br>
</div></div></blockquote></div><br></div>