Hello Ferhat -

On Tue, 30 Nov 1999, Ferhat DILMAN wrote:
> >%_Hi,
> The module AuthGeneric in 2.1.14 patch area states that:
> 28/9/99 New version of AuthGeneric supports a new format for Session-Timeout
> reply items:. 
> If you have for example: Session-Timeout="until 1800" Then the
> Session-Timeout in the reply will be calculated as the number of seconds up
> until the time of day specified 
> 
> However, I am puzzled since I don't understand how to use this extra string
> in AuthBy SQL module. Is it possible to use a parameter in AuthGeneric
> inside AuthSQL ?

AuthSQL (and all other Authxxx modules) inherits from (is built on)
AuthGeneric, so anything in AuthGeneric is also usable in AuthSQL.

Keep in mind also that Session-Timeout is a standard reply item and as such can
be sent in any Access-Accept packet. You should have a look at Section 13 in
the manual - Check and Reply Items. These can be used in a variety of places in
Radiator: as Handler check items, as AuthBy reply items, and as check and reply
items in user definitions.

You could use Session-Timeout in an AuthBy SQL like this:

<Handler ...>
        <AuthBy SQL>
                DBSource ...
                DBAuth ...
                DBUsername ...
                ...
                AddToReply Session-Timeout = "until 1800"
                ...
        </AuthBy>
</Handler>

and of course there are lots of other possibilities...

hth

Hugh


--
Radiator: the most portable, flexible and configurable RADIUS server
anywhere. SQL, proxy, DBM, files, LDAP, NIS+, password, NT, Emerald,
Platypus, Freeside, TACACS+, PAM, external, etc etc on Unix, Win95/8,
NT, Rhapsody

===
Archive at http://www.thesite.com.au/~radiator/
To unsubscribe, email '[EMAIL PROTECTED]' with
'unsubscribe radiator' in the body of the message.

Reply via email to