Different accounting based on avpair

Nuno Pais Fernandes npf at eurotux.com
Fri Nov 24 17:42:32 CET 2006


Hi,

Does someone have any info on this? Is it possible with freeradius? Does 
anyone have this setup working? 

Thanks
Nuno Fernandes

On Wednesday 15 November 2006 18:17, Nuno Pais Fernandes wrote:
> Hi,
>
> I've been searching the ML for something related to this without any
> success. I don't know if freeradius does what i need and correct me if i'm
> wrong.
>
> I want to freeradius insert/update different sql tables using a avpair from
> my custom dictionary. What i would like is somthing like this:
>
> "if avpair Wireless = yes use accounting module sql1
> else use accounting module sql2"
>
> accounting {
> 	acct_unique
> 	sql1 if (Wireless = yes)
> 	sql2 if (Wireless != yes)
> }
>
> Could it be done with users file?
>
> Thanks,

-- 
Nuno Miguel Pais Fernandes <npf at eurotux.com>
Cisco Certified Network Associate
Oracle Certified Professional
Eurotux Informática, S.A. [http://eurotux.com]
Rua Rosalvo de Almeida, 5. 4710-429 BRAGA PORTUGAL
Tel: (+351) 253 257395 - Fax: (+351) 253 257396
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: not available
URL: <http://lists.freeradius.org/pipermail/freeradius-users/attachments/20061124/02f587b9/attachment.pgp>


More information about the Freeradius-Users mailing list