Ah yes, I was doing that wrong, that seems to work much better now. Thank you. On Wed, Jun 17, 2009 at 10:28 AM, Alan DeKok<aland@deployingradius.com> wrote:
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. - List info/subscribe/unsubscribe? See http://www.freeradius.org/list/users.html