James Devine wrote:
I have setup a custom module to do auth and acct. In debug mode everything appears correct, and responses appear correct. When I don't have radius running in debug mode, responses still appear correct, but if auth fails due to simultaneous use, radius is logging 'Auth: Login OK'. Authentication was successful, but the auth request failed due to simultaneous use, so it should be logging a failure I would think. Any idea what I might be doing wrong?
The "Login OK" message is produced only when it sends an Access-Accept back to the NAS. See src/main/auth.c. If a simultaneous-use check fails, it returns Access-Reject, and logs "You are already logged in..." The debug log you posted shows it receiving no packets, and therefore doing nothing. Alan DeKok.