Hello David -
On Fri, 08 Oct 1999, David Lloyd wrote:
> We have three different types of NAS (Livingston, USR, and Ascend). I
> would like to be able to log the connection rates in my custom radius
> detail file in a consistant manner.
>
> While it is possible to get the connection rates from all three boxes,
> they unfortunately each have a different attribute name and number for
> where they put the darn thing.
>
> I see this as a good argument for being allowed to specify a different
> dictionary for each NAS. I envision a scenario in which I could give the
> attributes the same name, for instance:
>
> (In the usr dictionary file)
> ATTRIBUTE Connect-Transmit-Rate 0x006A Integer
>
> (In the ascend dictionary file)
> ATTRIBUTE Connect-Transmit-Rate 255 Integer
>
> (In the livingston dictionary file)
> ATTRIBUTE Connect-Transmit-Rate 1007 Integer
>
> ...Then I could just specify %{Connect-Transmit-Rate} in my
> AAcctLogFileFormat directive, and be guaranteed to get the right numbers!
>
The topic of per-client dictionaries has come up previously, but we are still
considering whether or not to implement this as it complicates packet
processing considerably.
I have also just responded to Clement ([EMAIL PROTECTED]) on a related issue.
If you use AuthBy SQL (even just for accounting) you can have multiple
definitions for the same column name:
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.