I have a Freeradius server where I currently use both MySQL and the users file for authorization. The database is for "dynamic" users, whose entries in the tables are created and destroyed by another application. As you might expect, they are only valid for a finite time, then deleted. I use the users file for my DEFAULT entries, which never change. I'd like to move everything to the database and turn files off in my auth block, but I dont know how to make rlm_sql look at the "dynamic" user entrees first, then the "static" DEFAULTs last. If the rows for the dynamic users are added after the DEFAULTs, the DEFAULT will match first. I tried preloading the tables with my DEFAULT rows using a high id number, but then when I add a new row and let it set the id number as it does now, it picks an ID that's higher than the DEFAULT. Does anyone know a way around that?
Thanks, Dave
- List info/subscribe/unsubscribe? See http://www.freeradius.org/list/users.html
