Custom MySQL Queries

Suman Dash sumandash at gmail.com
Thu Oct 27 21:55:03 CEST 2011


If you would like to disable a user why not to use the Auth-Type := Reject
which is natively available in freeradius. I don't think it is necessary to
re-invent the wheel.

Regards
Suman

On Thu, Oct 27, 2011 at 11:07 PM, JennyBlunt <jennyshoehorn at me.com> wrote:

> Hello
>
> What's the best approach regarding custom mysql queries? I'd like to check
> if a user is blocked whilst authorising..
>
> Have tried to add something like this to my dictionary file:
>
> ATTRIBUTE       User-Disabled-Attr      3002    integer
>
> And then putting a 1 / 0 in to radcheck against the user.
>
> What's the best way to do this kind of request? Is it better to write a
> lookup somewhere else?
>
> Thanks
>
> J
>
> --
> View this message in context:
> http://freeradius.1045715.n5.nabble.com/Custom-MySQL-Queries-tp4943692p4943692.html
> Sent from the FreeRadius - User mailing list archive at Nabble.com.
> -
> List info/subscribe/unsubscribe? See
> http://www.freeradius.org/list/users.html
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.freeradius.org/pipermail/freeradius-users/attachments/20111028/64478f16/attachment.html>


More information about the Freeradius-Users mailing list