I'm trying to get the suspend function to work with a template user and suspend reasons. I understand the formatting of the field in the sqlradius export, but I'm having problems getting it to work. Has anyone gotten it to successfully suspend a user and change their RADIUS group? The problems that I'm facing are that it doesn't seem to successfully change the group the user belongs to, even though I have it defined in a template user. Furthermore, using the manual suspend function on the user account page, It changes the password in the radcheck table, effectively disabling the user and thus not sending any reply information.
Also, can more than one reason be defined in the same export function?
Do the suspend reasons have to match the radius groups in some way?
The goal of this is to get the suspended user blocked from general internet access and redirected to the account portal so that they can pay their outstanding balance, or be redirected to a page explaining the reason for suspension, I.E. different TOS violations.
I've got the gateway configured to recognise the different groups, and the walled garden entries are correct.
PGSql 8.3.11 (With schemas)
My Sql 5.0.67