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
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