gdm and radius accounting

sub fitzkarraldo at gmail.com
Mon Apr 21 10:18:18 CEST 2008


On Sun, Apr 20, 2008 at 8:45 PM, Alan DeKok <aland at deployingradius.com> wrote:
> sub wrote:
>  > what I was expecting (but I'm not an expert, it's possible that it's
>  > not a radius feature and I misunderstood it) is that the client
>  > periodically sends accounting-request packets ("I'm alive!") to the
>  > server and so the server updates the sql db.
>
>   It would have helped to say that.  Instead, you said: "it does
>  accounting start and stop, but I want it do accounting!"
>

yes, you're right...sorry.

>   And due to the way that PAM works, it's impossible to send "alive"
>  packets.  The pam_radius module is called *only* for start/stop.  So it
>  *only* sends start/stop packets.
>

ok, instead I was trying to see if I could receive "alive" packets as I said.

>
>  > I don't want something magic but if the users enters and he has only
>  > one more minute for his daily session, he we'll be able to be logged
>  > if he doesn't logoff by hand.
>
>   I don't understand that sentence.
>
>   I *think* you're trying to ask if the PAM module supports
>  Session-Timeout.  And no, it doesn't, because PAM has no such capability.
>
>

yes. More or less I have a radius accounting server and I hoped it was
able to send pam a timeout valued for the user.
The nicest thing would have been some kind of "disconnect" message
sent by the server to the client in order to logoff the user. But I
understood it's not possible.

>  > maybe I misundersood how radius accounting works...
>
>   Explain what you mean using full sentences.  The more explanation the
>  better.  Leaving words out means that it's difficult to understand you.
>
>
>
>   Alan DeKok.
>  -

thanks a lot for your help!

sub



More information about the Freeradius-Users mailing list