Correct / update example configuration files v3.0.3
authorJennifer Richards <jennifer@painless-security.com>
Fri, 17 Nov 2017 23:18:14 +0000 (18:18 -0500)
committerJennifer Richards <jennifer@painless-security.com>
Fri, 17 Nov 2017 23:18:14 +0000 (18:18 -0500)
  * Combine filter specs into single spec with multiple match strings
  * Use example.com instead of local in example hostnames
  * Remove "max_tree_depth", which is not used

redhat/default-internal.cfg
redhat/organizations.cfg
tr/internal.cfg
tr/organizations.cfg

index eef0f61..8b2a77b 100644 (file)
@@ -1,6 +1,5 @@
 {
   "tr_internal": {
-    "max_tree_depth": 12,
     "hostname":"beta.example.com",
     "trps_port":12308,
     "tids_port":12309,
index f0886fd..58f9ac1 100644 (file)
@@ -27,7 +27,7 @@
           "realm": "apc.x",
           "identity_provider": {
             "aaa_servers": [
-              "apc.local"
+              "apc.example.com"
             ],
             "apcs": [
               "apc.x"
               {
                 "action": "accept",
                 "domain_constraints": [
-                  "*.local"
+                  "*.example.com"
                 ],
                 "specs": [
                   {
                     "field": "rp_realm",
-                    "match": "rp.x"
-                  },
-                  {
-                    "field": "rp_realm",
-                    "match": "*.rp.x"
+                    "match": [
+                      "rp.x", "*.rp.x"
+                    ]
                   }
                 ],
                 "realm_constraints": [
@@ -76,7 +74,7 @@
           "realm": "idp.x",
           "gss_names": ["idp-cred@apc.x"],
           "identity_provider": {
-            "aaa_servers": ["idp.local"],
+            "aaa_servers": ["idp.example.com"],
             "apcs": ["apc.x"],
             "shared_config": "no"
           }
@@ -85,7 +83,7 @@
           "realm": "other.idp.x",
           "gss_names": ["other-idp-cred@apc.x"],
           "identity_provider": {
-            "aaa_servers": ["idp.local"],
+            "aaa_servers": ["idp.example.com"],
             "apcs": ["apc.x"],
             "shared_config": "no"
           }
index eef0f61..5b863d5 100644 (file)
@@ -1,7 +1,6 @@
 {
   "tr_internal": {
-    "max_tree_depth": 12,
-    "hostname":"beta.example.com",
+    "hostname":"tr.example.com",
     "trps_port":12308,
     "tids_port":12309,
     "cfg_poll_interval": 1,
index f0886fd..58f9ac1 100644 (file)
@@ -27,7 +27,7 @@
           "realm": "apc.x",
           "identity_provider": {
             "aaa_servers": [
-              "apc.local"
+              "apc.example.com"
             ],
             "apcs": [
               "apc.x"
               {
                 "action": "accept",
                 "domain_constraints": [
-                  "*.local"
+                  "*.example.com"
                 ],
                 "specs": [
                   {
                     "field": "rp_realm",
-                    "match": "rp.x"
-                  },
-                  {
-                    "field": "rp_realm",
-                    "match": "*.rp.x"
+                    "match": [
+                      "rp.x", "*.rp.x"
+                    ]
                   }
                 ],
                 "realm_constraints": [
@@ -76,7 +74,7 @@
           "realm": "idp.x",
           "gss_names": ["idp-cred@apc.x"],
           "identity_provider": {
-            "aaa_servers": ["idp.local"],
+            "aaa_servers": ["idp.example.com"],
             "apcs": ["apc.x"],
             "shared_config": "no"
           }
@@ -85,7 +83,7 @@
           "realm": "other.idp.x",
           "gss_names": ["other-idp-cred@apc.x"],
           "identity_provider": {
-            "aaa_servers": ["idp.local"],
+            "aaa_servers": ["idp.example.com"],
             "apcs": ["apc.x"],
             "shared_config": "no"
           }