Well spotted, this was accounted for correctly in the original example, after someone else on the listed pointed out that files returned not found. I guess the author of the new examples didn't actually check what return code the  files module returns when an entry isn't found.

I've updated the wiki examples with !ok.

Thanks,
Arran

On Apr 8, 2011, at 8:07 AM, Joren Love wrote:

There was also an issue with the authorized_macs "module" returning noop instead of notfound.  Not sure if this is just something weird on my end, but changing the if statement seems to make it work.

-Joren

On Thu, Apr 7, 2011 at 1:25 AM, Phil Mayers <p.mayers@imperial.ac.uk> wrote:
On 04/06/2011 10:59 PM, Joren Love wrote:
Hey, thanks for your reply. I did try creating the "file" module with the contents from the howto, and it seems to get loaded (Debug: including configuration file /etc/freeradius/modules/file however, I still get the same error:

Edit: Now I'm noticing there's a typo in the wiki. Under raddb/sites-available/default
it says authorize_macs instead of authorized_macs. Fixing this makes it work.


Oops. Well spotted, fixed.

-
List info/subscribe/unsubscribe? See http://www.freeradius.org/list/users.html

-
List info/subscribe/unsubscribe? See http://www.freeradius.org/list/users.html