Accept via calling-station value

Matthew Newton mcn4 at
Wed Jan 20 22:41:26 CET 2016

On Wed, Jan 20, 2016 at 03:11:33PM -0500, Munroe Sollog wrote:
> I have an aruba wireless network where I am trying to get free-radius to auth a device based on
> calling-station id.  Line 35 confirms my re-writing is working, but line 46 looks like it is
> rejecting the match even though it is listed in the authorized_macs file.  Any help would be
> appreciated.  Thanks.

You're not checking the authorized_macs file anywhere.

For a start, add a new instatiation of the files module (maybe
called "macauth") that reads the authorized_macs file and is keyed
off Calling-Station-Id, and then call "macauth" after

That should get you closer. The current if (!ok) doesn't really
make any sense unless it comes after something that reads the
authorized_macs file and returns ok if an entry is found.


Matthew Newton, Ph.D. <mcn4 at>

Systems Specialist, Infrastructure Services,
I.T. Services, University of Leicester, Leicester LE1 7RH, United Kingdom

For IT help contact helpdesk extn. 2253, <ithelp at>

More information about the Freeradius-Users mailing list