Think about using sql. Simultaneous use check is configurable there. And you will be able to get online users simply by checkig that AcctStopTime is 0 (mysql - I think it's NULL for postgre).
Ivan Kalik Kalik Informatika ISP Dana 5/11/2007, "John Kougoulos" <[EMAIL PROTECTED]> piše: >Hello, > >This doesn't seem to work. radwho always shows me only the user who logged >in last. > >Thanks! > > >On Mon, 5 Nov 2007, [EMAIL PROTECTED] wrote: > >> http://linux.die.net/man/5/rlm_acct_unique >> >> Try replacing NAS-Port with Calling-Station-Id. >> >> Ivan Kalik >> Kalik Informatika ISP >> >> >> Dana 5/11/2007, "John Kougoulos" <[EMAIL PROTECTED]> pi¨e: >> >>> >>> Hello all, >>> >>> I'm trying to integrate a Cisco wireless controller in web authentication >>> mode with freeradius which uses rlm_dbm as user database. I run also some >>> extra scripts using rlm_exec to update the session-timeout etc. >>> >>> The odd thing is that this device sends as nas-port always the number 1. >>> >>> So, this breaks rlm_radutmp and the check simultaneous users >>> functionality. Obviously the correct method is to try to convince cisco to >>> send different nas-port number for every request. >>> >>> However, in the mean time I thought of changing the nas-port with a number >>> based on the calling-station-id (the last 4 bytes of the client's >>> mac-address). >>> >>> To do this I tried the rlm_perl, in preacct, but as far as I've >>> understood from the archives of the mailing list, I cannot change the >>> request pairs, at least up to Freeradius 1.1.7. Is this correct? >>> >>> >>> Is this functionality supported on 2.0.0pre2 ? >>> >>> Am I in the correct path for resolving this issue or should I consider an >>> alternative method? >>> >>> thanks, >>> John >>> >>> >>> >>> - >>> List info/subscribe/unsubscribe? See >>> http://www.freeradius.org/list/usershtml >>> >>> >> >> - >> List info/subscribe/unsubscribe? See >> http://www.freeradius.org/list/users.html >> > - List info/subscribe/unsubscribe? See http://www.freeradius.org/list/users.html

