logging and customs attributes

Arran Cudbard-Bell a.cudbardb at freeradius.org
Fri Oct 5 12:14:18 CEST 2018



> On Oct 5, 2018, at 3:29 PM, Pascal Legrand <pascal.legrand at univ-orleans.fr> wrote:
> 
> Hello,
> 
> i'm using freeradius with basic authentication (mac adress).
> Then my config file is like that :
> 0025646642D6 Cleartext-Password := "0025646642D6".
> 
> i would like to be able to see in the log the computer name, then i added in dictionnary file this line :
> "ATTRIBUTE       Nom-Machine             3003    string".
> 
> My config file become like that :
> 0025646642D6 Cleartext-Password := "0025646642D6", Nom-Machine := "portable".
> 
> I would like to see in the log file, when authentication is ok, in addition to mac address, the name "portable".
> 
> Is it possible to do that ?

Sure.  see man unlang and raddb/mods-available/linelog

-Arran


More information about the Freeradius-Users mailing list