Accept via calling-station value

Matthew Newton mcn4 at leicester.ac.uk
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
rewrite_calling_station_id.

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


-- 
Matthew Newton, Ph.D. <mcn4 at le.ac.uk>

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

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


More information about the Freeradius-Users mailing list