Instead of checking another table make another group with Auth-Type:=Reject and switch users between his regular group and this group in the usergroup table instead of doing that with 1 and 0. Ivan Kalik Kalik Informatika ISP Dana 26/5/2007, "Trio Yulistianto" <trioy99@gmail.com> piše:
dear all i'm using freeradius-1.1.6 and mysql database... for now running well.. but i need something add to authentification process.. i have one table "Payment_Table" (username,payment) all username in radcheck already copied to username field,payment field filled by '0' or '1' this is what i need : while user trying to connect, freeradius will check payment_table, if payment field is '0' user cannot log in,except field contain with '1'
any suggestion? thanks trio