aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorAlexander Wilke <nachtfalkeaw@web.de>2012-02-04 20:33:19 +0100
committerAlexander Wilke <nachtfalkeaw@web.de>2012-02-04 20:33:19 +0100
commit32d8a6b0c2fc26a517e4d0b4a5d8e80b422920ce (patch)
tree7de376948d00b901efb88064402b33f2efd2af83
parent140c562e5f70ec2ef5567f02c44cdab983c267c0 (diff)
downloadpfsense-packages-32d8a6b0c2fc26a517e4d0b4a5d8e80b422920ce.tar.gz
pfsense-packages-32d8a6b0c2fc26a517e4d0b4a5d8e80b422920ce.tar.bz2
pfsense-packages-32d8a6b0c2fc26a517e4d0b4a5d8e80b422920ce.zip
custom logging options
-rw-r--r--config/freeradius2/freeradius.inc6
1 files changed, 4 insertions, 2 deletions
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