Ivan and Alan, Thanks a lot for all your help!
Regards, Gina -----Original Message----- From: freeradius-users-bounces+gina.zhang=alcatel-lucent....@lists.freeradius. org [mailto:[email protected] eradius.org] On Behalf Of Alan DeKok Sent: Friday, October 02, 2009 1:33 AM To: FreeRadius users mailing list Subject: Re: Identity does not match User-Name, setting from EAP Identity ZHANG Gina wrote: > Hi all, > > I have a username and identity in EAP attribute with pattern > {m=1}x...@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. - List info/subscribe/unsubscribe? See http://www.freeradius.org/list/users.html - List info/subscribe/unsubscribe? See http://www.freeradius.org/list/users.html

