logging and customs attributes

Ali Arslan e066377 at yahoo.com
Fri Oct 5 15:36:57 CEST 2018


Hi,

>I see that "msg_badpass = string" can be a variable. Then, does "Nom-Machine" is the variable name ?

Try as

msg_goodpass = "%{&control:Nom-Machine}"
msg_badpass = "%{&control:Nom-Machine}"






On ‎Friday‎, ‎October‎ ‎5‎, ‎2018‎ ‎04‎:‎30‎:‎06‎ ‎PM‎ ‎+03, Pascal Legrand <pascal.legrand at univ-orleans.fr> wrote: 





Then if i add this line in dictionary :
ATTRIBUTE      Nom-Machine            3003      string

And if my config file is like that :
0C41E978313C Cleartext-Password := "0C41E978313C", Nom-Machine := 
"SWITCH-CM1"
0C41E97831A3 Cleartext-Password := "0C41E97831A3", Nom-Machine := 
"SWITCH-CM2"
007E95CC6070 Cleartext-Password := "007E95CC6070", Nom-Machine := "AP-CM1"
007E95CC5EF0 Cleartext-Password := "007E95CC5EF0", Nom-Machine := "AP-CM2"
..........

I see that "msg_badpass = string" can be a variable. Then, does 
"Nom-Machine" is the variable name ?


Thanks

>    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.
> 
> 
> -
> List info/subscribe/unsubscribe? See http://www.freeradius.org/list/users.html

> 
-
List info/subscribe/unsubscribe? See http://www.freeradius.org/list/users.html



More information about the Freeradius-Users mailing list