Hello I'm having a very frustrating problem with the latest CVS version of FreeRADIUS (though, that's barely relevant). My porblem is that I don't know how I can design the database/configure FreeRADIUS so that I can reject the authentication of certain users, based on the reult of a random query. My problem is that I have to use an accounting system based on points, more points get used per minute during peak hours, than off peak hours.
The way I'm currently doing this is by telling the NAS to send accounting updates every minute, and substracting the appropriate number of points, via accounting_update_query. The problem I'm facing is that I don't know how I can make FreeRADIUS deny authentication for a user that has less than the minimum of points. This is, probably, happening because of my poor understanding of how RADIUS and FreeRADIUS actually work, but from the available documentation (which is sparse, to say the least), I cannot figure any possible way of doing it, without using triggers in PostgreSQL, which is, imo, the ugly way of doing it. I would appreciate any input on this, including UTSL, as long as it's not a dead end. Thanks, in advance. -- Regards Birzan George Cristian
pgp00000.pgp
Description: PGP signature
