SV: EXEC Access-challenge

Phil Mayers p.mayers at
Thu Oct 11 12:43:35 CEST 2012

On 11/10/12 10:57, Thomas Raabo - Zitcom A/S wrote:
> Thats seems like a way to go.
> But your right... Its very hard to find documentation on this topic.

Sure. The assumption is that Access-Challenge methods are generated by 
auth method code in "rlm". It's a testament to how flexible the server 
is that you can *do* it in unlang/perl/etc. - but it's not well documented.

> Changed it and now
> It seems that update check I checket way before th script.
> ++[sql] returns ok
> ++[expiration] returns noop
> ++[logintime] returns noop
> [pap] Normalizing SHA-Password from hex encoding
> [pap] WARNING: Auth-Type already set.  Not setting to PAP
> ++[pap] returns noop

I think this is in the wrong order. You've checked for "updated" before 
you've run the "exec" command.

More information about the Freeradius-Users mailing list