# the next few lines.
#
update control {
- Proxy-To-Realm := LOCAL
+ &Proxy-To-Realm := LOCAL
}
#
# to use Chargeable-User-Identity attribute from RFC 4372.
# See further on.
#update outer.reply {
- # User-Name = "%{request:User-Name}"
+ # &User-Name = &request:User-Name
#}
#
}
server soh-server {
authorize {
- if (SoH-Supported == no) {
+ if (&SoH-Supported == no) {
# client NAKed our request for SoH - not supported, or turned off
update config {
&Auth-Type = Accept
}
else {
# client replied; check something - this is a local policy issue!
- if (SoH-MS-Windows-Health-Status =~ /antivirus (warn|error) /) {
+ if (&SoH-MS-Windows-Health-Status =~ /antivirus (warn|error) /) {
update config {
&Auth-Type = Reject
}
update reply {
- &Reply-Message = "You must have antivirus enabled & installed!"
+ &Reply-Message = 'You must have antivirus enabled & installed!'
}
}
else {