Identity does not match User-Name, setting from EAP Identity

Alan DeKok aland at deployingradius.com
Fri Oct 2 08:33:23 CEST 2009


ZHANG Gina wrote:
> Hi all,
> 
> I have a username and identity in EAP attribute with pattern
> {m=1}xxxx at xxxx.
> I need to remove {m=1} for both username and identity in EAP attribute.
> I put some regular expression in default file authorize section to
> remove {m=1} for username and it works!
> But I have not found a way to remove {m=1} for identity in EAP packet.

  There's no simple way to do this.  It involves understanding the EAP
packet format, and doing selective editing of it.

  The easiest way is to write a module in C to do the editing.

  Alan DeKok.



More information about the Freeradius-Users mailing list