Rejecting User By their Calling-Station-Id (Mac Address)

Arran Cudbard-Bell a.cudbard-bell at sussex.ac.uk
Sat Dec 26 20:34:18 CET 2009


On 26/12/2009 11:23, Alex M wrote:
> that worked well!
Good :)
> thank you
> I guess once reject is sent there is no further processing of the code.
Yeah similar behaviour to handled. It's why you have to override the
return codes of modules if you want to do additional processing after a
reject.

e.g.

Authenticate {
    eap {
        reject = 1
    }
    if(reject){
        do more stuff...
    }
}

-Arran

>
>
> On Sat, Dec 26, 2009 at 1:16 PM, Arran Cudbard-Bell
> <a.cudbard-bell at sussex.ac.uk <mailto:a.cudbard-bell at sussex.ac.uk>> wrote:
>
>     On 26/12/2009 10:11, Alex M wrote:
>>     As suggested I just tried to replace  operator = with := and even
>>     with == but reply message is not getting outputted :(
>>     Maybe I'm missing something?
>     Try moving the reject to after the update stanza. I think a return
>     code of reject stops the server processing the current section.
>
>     -Arran
>
>

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.freeradius.org/pipermail/freeradius-users/attachments/20091226/dcb3c591/attachment.html>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 258 bytes
Desc: OpenPGP digital signature
URL: <http://lists.freeradius.org/pipermail/freeradius-users/attachments/20091226/dcb3c591/attachment.pgp>


More information about the Freeradius-Users mailing list