> Tell me please what table 'radgroupcheck' for? when i try to insert any > attribute in it i always get error 'pairs do not match' :-\ > Anyone can give an example? please! Yes, I'm using mysql for users authorization. radgroupcheck is used to check attributes for users belonging to the same group. Example. We have several groups of users: group day may dial only from 08:00 to 18:00, group night may dial from 00:00 to 08:00. user1 belongs to "day" group, user2 belongs to "night" group So, my configuration. Table usergroup: id username groupname 1 user1 day 2 user2 night
Table radgroupcheck: id groupname attribute value op 1 day Login-Time "al0800-1800" == 2 night Login-Time "al0000-0800" == Table radcheck: id username attribute value op 1 user1 Password xxxxx == 2 user2 Password yyyyy == Thats all, and it works. May be you need some DEFAULT attributes, then you can add they to radreply/radcheck table for username DEFAULT. --- Aleksandr Kuzminsky, AK476-RIPE System Administrator, AK16-UANIC ISP NBI. - List info/subscribe/unsubscribe? See http://www.freeradius.org/list/users.html
