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@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@le.ac.uk>