logging and customs attributes
Alan DeKok
aland at deployingradius.com
Fri Oct 5 15:19:00 CEST 2018
On Oct 5, 2018, at 9:15 AM, Pascal Legrand <pascal.legrand at univ-orleans.fr> wrote:
>
> I already done evrything in the log section
No.
> # Log the full User-Name attribute, as it was found in the request.
> stripped_names = yes
> # Log authentication requests to the log file.
> auth = yes
> # logs password if it's rejected
> auth_badpass = yes
> # logs password if it's correct
> auth_goodpass = yes
>
> But i cant see my custom attribute
The custom attribute isn't magically logged. If every attribute was logged all of the time, then the logs would be full of garbage.
You have to *tell* the server to log the custom attribute. How do you do this? Via the "msg_goodpass" and "msg_badpass" configuration items. The ones you didn't include above.
The default configuration has LOTS of comments that document what everything is, what it does, and how to use it. Please read it.
Alan DeKok.
More information about the Freeradius-Users
mailing list