]> git.ipfire.org Git - thirdparty/freeradius-server.git/commitdiff
Few more...
authorArran Cudbard-Bell <a.cudbardb@freeradius.org>
Fri, 29 Aug 2014 19:34:23 +0000 (21:34 +0200)
committerArran Cudbard-Bell <a.cudbardb@freeradius.org>
Fri, 29 Aug 2014 19:34:32 +0000 (21:34 +0200)
raddb/sites-available/inner-tunnel
raddb/sites-available/robust-proxy-accounting
raddb/sites-available/soh

index f8f4dc58d7b12a223bfdc0a9410ff20b05083340..2b650d2a6e780cd9b09b357a7d637729b84dd855 100644 (file)
@@ -101,7 +101,7 @@ authorize {
        #  the next few lines.
        #
        update control {
-              Proxy-To-Realm := LOCAL
+               &Proxy-To-Realm := LOCAL
        }
 
        #
@@ -330,7 +330,7 @@ post-auth {
        #  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
        #}
        #
 }
index d21680b2299e1c991d0fa83255b6d907a415cbdd..7d8cb1167921b849e30e4ab0394533d76d057ca4 100644 (file)
@@ -160,7 +160,7 @@ server home.example.com {
                # You may want accounting policies here...
 
                update control {
-                       &Proxy-To-Realm := "acct_realm.example.com"
+                       &Proxy-To-Realm := 'acct_realm.example.com'
                }
        }
 
index b6ced3550115a24f3e32c5cd357aec62e4d2aaaa..86748b6b140d5af35b7c14b82b20c5a23aea6a24 100644 (file)
@@ -7,7 +7,7 @@
 
 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
@@ -15,12 +15,12 @@ server soh-server {
                }
                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 {