From 32d8a6b0c2fc26a517e4d0b4a5d8e80b422920ce Mon Sep 17 00:00:00 2001 From: Alexander Wilke Date: Sat, 4 Feb 2012 20:33:19 +0100 Subject: custom logging options --- config/freeradius2/freeradius.inc | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) (limited to 'config/freeradius2') diff --git a/config/freeradius2/freeradius.inc b/config/freeradius2/freeradius.inc index 4a4fee14..30389bc6 100644 --- a/config/freeradius2/freeradius.inc +++ b/config/freeradius2/freeradius.inc @@ -158,7 +158,9 @@ function freeradius_settings_resync() { $varsettingslogdir = ($varsettings['varsettingslogdir']?$varsettings['varsettingslogdir']:'syslog'); $varsettingsauth = ($varsettings['varsettingsauth']?$varsettings['varsettingsauth']:'yes'); $varsettingsauthbadpass = ($varsettings['varsettingsauthbadpass']?$varsettings['varsettingsauthbadpass']:'no'); + $varsettingsauthbadpassmessage = ($varsettings['varsettingsauthbadpassmessage']?$varsettings['varsettingsauthbadpassmessage']:''); $varsettingsauthgoodpass = ($varsettings['varsettingsauthgoodpass']?$varsettings['varsettingsauthgoodpass']:'no'); + $varsettingsauthgoodpassmessage = ($varsettings['varsettingsauthgoodpassmessage']?$varsettings['varsettingsauthgoodpassmessage']:'no'); $varsettingsstrippednames = ($varsettings['varsettingsstrippednames']?$varsettings['varsettingsstrippednames']:'no'); // Variables: Security @@ -304,8 +306,8 @@ log { auth = $varsettingsauth auth_badpass = $varsettingsauthbadpass auth_goodpass = $varsettingsauthgoodpass - ###msg_goodpass = "" - ###msg_badpass = "" + msg_goodpass = "$varsettingsauthgoodpassmessage" + msg_badpass = "$varsettingsauthbadpassmessage" } checkrad = \${sbindir}/checkrad -- cgit v1.2.3