Lol Thank you Arran... You found the problem! Now it's good. Thanks again! Guest-tek, Difan Zhao difan.zhao@guest-tek.com www.guest-tek.com Office: 403-509-1010 ext 3048 Cell: 403-689-7514 -----Original Message----- From: freeradius-users-bounces+difan.zhao=guest-tek.com@lists.freeradius.org [mailto:freeradius-users-bounces+difan.zhao=guest-tek.com@lists.freeradi us.org] On Behalf Of Arran Cudbard-Bell Sent: Thursday, December 24, 2009 1:13 PM To: FreeRadius users mailing list Subject: Re: MAC authentication bypass --- How am I supposedto?edit?theusersfile to include multiple MAC addresses?? Difan Zhao wrote:
Hey guys,
So I finally started configuring this *MAC auth bypass* thing... I am editing the *raddb/policy.conf* to include the "*rewrite_calling_station_id*" function/module however when I am trying to run the *radiusd -X* I got this error:
"/etc/raddb/policy.conf[72]: Parse error in condition at: request:Calling-Station-Id =~ /00-A0-08-([0-9A-F]{2})-([[0-9A-F]{2})-([[0-9A-F]{2})/i)" error
Here is what I added in the policy.conf. I appended to the back of the
file. I never changed anything else in this file.
Curly braces need to be inline... don't assume the parser is clever. - List info/subscribe/unsubscribe? See http://www.freeradius.org/list/users.html