Skip to Content.
Sympa Menu

cat-users - [[cat-users]] small bug in Linux CAT

cat-users AT lists.geant.org

Subject: The mailing list for users of the eduroam Configuration Assistant Tool (CAT)

List archive

[[cat-users]] small bug in Linux CAT


Chronological Thread 
  • From: "Workman, John R" <john.workman AT mnsu.edu>
  • To: "cat-users AT lists.geant.org" <cat-users AT lists.geant.org>
  • Subject: [[cat-users]] small bug in Linux CAT
  • Date: Mon, 1 Apr 2019 21:10:57 +0000
  • Accept-language: en-US
  • Authentication-results: spf=none (sender IP is ) smtp.mailfrom=john.workman AT mnsu.edu;

Greetings,

The following changes needed to be made to our institution's Linux CAT installer.

Can we get these fixes made upstream?

Thanks!

--- eduroam-linux-MSUM-eduroam.py.orig    2019-04-01 15:36:35.000000000 -0500
+++ eduroam-linux-MSUM-eduroam.py    2019-04-01 15:42:17.000000000 -0500
@@ -702,16 +702,15 @@
     Prepare and save wpa_supplicant config file
     """
     def __prepare_network_block(self, ssid, user_data):
-        altsubj_match = "altsubject_match=\"%s\"" % ";".join(Config.servers)
         out = """network={
-        ssid=""" + ssid + """
+        ssid=\"""" + ssid + """\"
         key_mgmt=WPA-EAP
         pairwise=CCMP
         group=CCMP TKIP
         eap=""" + Config.eap_outer + """
         ca_cert=\"""" + os.environ.get('HOME') + """/.cat_installer/ca.pem\"
         identity=\"""" + user_data.username + """\"
-        altsubject_match=\"""" + altsubj_match + """\"
+        altsubject_match=\"""" + ";".join(Config.servers) + """\"
         phase2=\"auth=""" + Config.eap_inner + """\"
         password=\"""" + user_data.password + """\"
         anonymous_identity=\"""" + Config.anonymous_identity + """\"


Otherwise, the configuration isn't quite right:

network={
        ssid=eduroam
        key_mgmt=WPA-EAP
        pairwise=CCMP
        group=CCMP TKIP
        eap=TTLS
        ca_cert="/home/john/.cat_installer/ca.pem"
        identity="redacted"
        altsubject_match="altsubject_match="DNS:radius.mnsu.edu""
        phase2="auth=MSCHAPV2"

[snipped]

Should actually be:

network={
        ssid="eduroam"
        key_mgmt=WPA-EAP
        pairwise=CCMP
        group=CCMP TKIP
        eap=TTLS
        ca_cert="/home/john/.cat_installer/ca.pem"
        identity="redacted"
        altsubject_match="DNS:radius.mnsu.edu"
        phase2="auth=MSCHAPV2"

[snipped]


--
John Workman (john.workman AT mnsu.edu) 
Networking Engineer 
Information and Technology Services 
Minnesota State University, Mankato 
3010 Memorial Library 
Mankato, MN  56001 
Office: 507-389-1337 
Mobile: 507-514-0604 
Fax: 507-389-6115



Archive powered by MHonArc 2.6.19.

Top of Page