I usually add Auth-Type := Reject to the radcheck table to disable a user.
You remove the entry to enable the user.

Tim

> -----Original Message-----
> From: freeradius-users-
> [email protected]
> [mailto:freeradius-users-
> [email protected]] On Behalf
> Of JennyBlunt
> Sent: Thursday, October 27, 2011 10:37 AM
> To: [email protected]
> Subject: Custom MySQL Queries
> 
> 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

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

Reply via email to