Linda wrote:
>I have a quick questions. I was reading the FAQ and i saw the instructions for rejecting users from authenticating when their account is suspended etc.. but from what i >see, the instructions in the FAQ are for people using the "users" file for authentication. I have set my freeradius to use mysql
>instead of the users file. Does anyone know what i need to do to reject users in this case? Thank you.
 
there are a lots of way of preventing a user from being authenticated or authorized from freeradius+mysql implementation.
you may add a column or you may not. one funny way that will work with freeradius+MySQL is you can make  "User-Password" attribute
under radcheck table to be "UserS-Password" attribute, which is unknown to freeradius, the user cannot in any way be authenticated
regardless of groups or authentication type. you may try "Auth-Type" attribute to be "Auth-TypoError", and see how it works :)
freeradius is fun specially when you get your feet wet with it! more to google and search the list, it has been reposted too!
//milver
 

Reply via email to