Salut Olivier -

This is very easy to do - just add an Identifier to your Handler, add 
a field for it to your RADONLINE table, then add a custom AddQuery 
using the special character %{Handler:Identifier} - something like 
this:

# define Handler(s) with Identifier(s)

<Handler .....>
        Identifier ToTo
        ....
</Handler>

.....

<SessionDatbase SQL>
        Identifier .....
        .....
        AddQuery insert into RADONLINE (USERNAME, NASIDENTIFIER, NASPORT, \
         ACCTSESSIONID, TIME_STAMP, FRAMEDIPADDRESS, NASPORTTYPE, SERVICETYPE \
         HANDLERID) values ('%u', '%N', 0%{NAS-Port}, '%{Acct-Session-Id}',\
         %{Timestamp}, '%{Framed-IP-Address}', '%{NAS-Port-Type}', \
         '%{Service-Type}', '%{Handler:Identifier}')
        ....
</SessionDatabase>


ca va comme ca?

A+

Hugues


At 11:00 +0200 01/7/4, Buisson Olivier wrote:
>Hi guys,
>
>For a special developement, I would like to add to RADONLINE, the Handler
>identifier to it.
>
>I can't be able to get the right variable to get this.
>
>does'nt anybody can help me ?
>
>Cheers
>
>olivier
>
>
>
>===
>Archive at http://www.open.com.au/archives/radiator/
>Announcements on [EMAIL PROTECTED]
>To unsubscribe, email '[EMAIL PROTECTED]' with
>'unsubscribe radiator' in the body of the message.

-- 

NB: I am travelling this week, so there may be delays in our correspondence.

Radiator: the most portable, flexible and configurable RADIUS server
anywhere. SQL, proxy, DBM, files, LDAP, NIS+, password, NT, Emerald,
Platypus, Freeside, Interbiller, TACACS+, PAM, external, etc, etc.
Available on Unix, Linux, FreeBSD, Windows 95/98/2000, NT, MacOS X.
===
Archive at http://www.open.com.au/archives/radiator/
Announcements on [EMAIL PROTECTED]
To unsubscribe, email '[EMAIL PROTECTED]' with
'unsubscribe radiator' in the body of the message.

Reply via email to