attribute should be on the left
authorMatthew Newton <matthew-git@newtoncomputing.co.uk>
Wed, 17 Aug 2016 14:37:29 +0000 (15:37 +0100)
committerMatthew Newton <matthew-git@newtoncomputing.co.uk>
Wed, 17 Aug 2016 14:37:29 +0000 (15:37 +0100)
raddb/sites-available/check-eap-tls

index 8b0cb65..58bae5f 100644 (file)
@@ -60,7 +60,7 @@ authorize {
        #
        # Check the client certificate common name against the supplied User-Name
        #
-#      if ("host/%{TLS-Client-Cert-Common-Name}" == &User-Name) {
+#      if (&User-Name == "host/%{TLS-Client-Cert-Common-Name}") {
 #              update config {
 #                      &Auth-Type := Accept
 #              }