Hello Clement -

On Fri, 08 Oct 1999, Clement wrote:
> Hi Guys,
> 
> I have a mixed environment with Bay and Ascend boxes.   Before, I log
> the connection details with the followings:
> 
> AcctColumnDef nas_portnbr,NAS-Port,integer
> AcctColumnDef nas_porttype,NAS-Port-Type
> AcctColumnDef connect_info,Connect-Info
> AcctColumnDef transmit_speed,Annex-Transmit-Speed,integer
> AcctColumnDef receive_speed,Annex-Receive-Speed,integer
> 
> Now with Ascend box in the mix, what can I do?  Any idea?  
> 

 The simplest and easiest way to do this is with multiple definitions:

AcctColumnDef           transmit_speed,Annex-Transmit-Speed,integer
AcctColumnDef           transmit_speed,Acc-Connect-Tx-Speed,integer
AcctColumnDef           transmit_speed,Some-Other-Transmit-Speed,integer

Only the attribute that is actually present in the packet will be written to
the database, so different NAS-specific information will be written.

This was a new feature in Radiator 2.14, although the manual does not describe
the improved behaviour.

>From http://www.open.com.au/radiator/history.html:

In AuthBy SQL, you can now have multiple definition of the same column name in 
AcctColumnDef. This allows you to save different attributes from different
types of  NAS into the same column in a mixed NAS environment. 

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