Re: LDAP related questions

2006-07-02 Thread Kostas Zorbadelos
On Sat, Jul 01, 2006 at 12:04:24PM -0400, Alan DeKok wrote:
> Kostas Zorbadelos <[EMAIL PROTECTED]> wrote:
> > I saw the cvs version and indeed it contains the code you
> > describe. This is a very useful feature. The feature is not contained
> > in the latest stable (1.1.2) version. Will it be in the next?
> 
>   Probably in 2.0, which we hope to release before the next millenium.
>

OK, till then, I guess if we need the functionality, we patch the
stable version... -:)

 
>   Alan DeKok.

-- 
  Kostas Zorbadelos
  [EMAIL PROTECTED] contact: kzorba (at) otenet.gr
  
  Out there in the darkness, out there in the night
  out there in the starlight, one soul burns brighter
  than a thousand suns.

- 
List info/subscribe/unsubscribe? See http://www.freeradius.org/list/users.html


Re: not-logged off users... how to decide whether a user is connectedor not?

2006-07-02 Thread Stefan Winter
> As it happens, (no idea why), a user is disconnceted after a
> poweroutage/powersurge/modem disconnection
> or whatever the reason is but the radius doesnt see the user as online.
>
> The record in the radacct table has a Start Time but doesnt have a Stop
> time, the AcctStopTime is set at " -00-00 00:00:00" which is probably
> because the user was disconnected abruptly and didn't have the chance to
> send the Account Stop packet or a Disconnect packet.
>
> Anyway, to the bottom line - how do i deal with such situation?

If you're lucky, you can configure the NAS to send an Accounting-Start packet 
after it reboots. Then the stale sessions can be closed. If not: too bad. 
There is nothing in the RADIUS protocol that can help you decide whether a 
user session is still online or not.
You can of course guess and mark the sessions as closed after a while. There 
are some scripts in FR that can help. I guess reading "Simultaneous Use" in 
the documentation directory might help.

Greetings,

Stefan Winter

-- 
Stefan WINTER

Fondation RESTENA - Réseau Téléinformatique de l'Education Nationale et de 
la Recherche - Ingénieur de recherche

6, rue Richard Coudenhove-Kalergi
L-1359 Luxembourg


- 
List info/subscribe/unsubscribe? See http://www.freeradius.org/list/users.html