[RADIATOR] Use of attribute in accounting file name

Hugh Irvine hugh at open.com.au
Sun Dec 22 15:35:47 CST 2013


Hello Markus -

Yes you can - see section 5.2 in the Radiator 4.12 reference manual (“doc/ref.pdf”).


%{attr}

The value of the named attribute in the current packet (if any).
For example, %{User-Name} is the same as %n.


regards

Hugh



On 23 Dec 2013, at 01:16, Markus Moeller <huaraz at moeller.plus.com> wrote:

> Hi
>  
>  
>   I  know you can use special character in the accounting file name (e.g. %c or  %C), but is it also possible to use an attribute value ?
>  
>   When I read the client database I add an attribute e.g. host = Host1. Could I use that instead of %C to avoid the reverse DNS lookup ?
>  
> Thank you
> Markus
>  
> _______________________________________________
> radiator mailing list
> radiator at open.com.au
> http://www.open.com.au/mailman/listinfo/radiator


--

Hugh Irvine
hugh at open.com.au

Radiator: the most portable, flexible and configurable RADIUS server 
anywhere. SQL, proxy, DBM, files, LDAP, NIS+, password, NT, Emerald, 
Platypus, Freeside, TACACS+, PAM, external, Active Directory, EAP, TLS, 
TTLS, PEAP, TNC, WiMAX, RSA, Vasco, Yubikey, MOTP, HOTP, TOTP,
DIAMETER etc. 
Full source on Unix, Windows, MacOSX, Solaris, VMS, NetWare etc.



More information about the radiator mailing list