How to kick a user based on NAI

khali singh khali3620
Wed Jul 30 03:29:42 PDT 2014


I want to kick out some users on a particular realm while try and
authenticate others. This done on the basis of the NAI. For example
abc at is allowed while xyz at is not allowed to

I want to make this decision as early as possible, so I thought the
eap_method_init is the right place. But that does not seem to work. If I do
data->state=FAILURE and return NULL in the buildREquest then the
middleboxes such as freeRadius that proxy the request think I am dead and
stop forwarding even when abc at tries to connect. How to overcome

Thanks Jouni and the list for the very fast responses.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <>

More information about the Hostap mailing list