17 Jun
2009
17 Jun
'09
12:28 p.m.
James Devine wrote:
The authentication portion of the module returns ok, the session portion returns reject, as it should.
No. The session portion should return "ok", and increment request->simul_count. See rlm_radutmp for examples. This is because users may be tracked in multiple places (radutmp, sql, etc.), *and* they have have Simultaneous-Use limits that are more than one. This allows the SQL module to say "I track one login", and the radutmp module to say "I track a different login", with the admin allowing 2 simultaneous logins. Alan DeKok.