title: FreeRADIUS Python Module “Unknown or invalid value ”Python“ for attribute Auth-Type”
body: <p>I am attempting to setup a FreeRadius Server (3.0.21) with Python Module. I just keep getting the error below when I try starting radiusd(radiusd -X):</p>
  <pre><code>/usr/local/Cellar/freeradius-server/3.0.21/etc/raddb/mods-config/files/authorize[1]: Parse error (check) for entry DEFAULT: Unknown or invalid value &quot;Python&quot; for attribute Auth-Type
      Failed reading /usr/local/Cellar/freeradius-server/3.0.21/etc/raddb/mods-config/files/authorize
      /usr/local/Cellar/freeradius-server/3.0.21/etc/raddb/mods-enabled/files[9]: Instantiation failed for module &quot;files&quot;
  </code></pre>
  <p>Also I noticed the following which I am not sure is related</p>
  <pre><code>  # Instantiating module &quot;python&quot; from file /usr/local/Cellar/freeradius-server/3.0.21/etc/raddb/mods-enabled/python
  Python version: 2.7.16 (default, Apr 17 2020, 18:29:03)  [GCC 4.2.1 Compatible Apple LLVM 11.0.3 (clang-1103.0.29.20) (-macos10.15-objc-
  *** instantiate ***
  None
  </code></pre>
  <p>As per documentation, I have completed the following:</p>
  <p>-added &quot;DEFAULT Auth-type := python&quot; as the first and only uncommented line in /etc/raddb/users</p>
  <p>-added the module location to /etc/raddb/mods-enabled/python</p>
  <p>-added the Auth-Type declarations in the site file (/etc/raddb/sites-available/default) see below.</p>
  <p>Here are the contents of the relevant files with comments removed (these things are 99% comments)
  <strong>/etc/raddb/users</strong></p>
  <pre><code>DEFAULT Auth-Type := python
  </code></pre>
  <p><strong>/etc/raddb/mods-enabled/python</strong></p>
  <pre><code>module = example
          python_path = ${modconfdir}/${.:name}
  
     mod_instantiate = ${.module}
  #########Uncommented the following line #######
          func_instantiate = instantiate
  
          mod_detach = ${.module}
  #       func_detach = detach
  </code></pre>
  <p><strong>/etc/raddb/sites-enabled/default</strong></p>
  <pre><code>**authorize**
          #
          #  If you want to have a log of authentication requests,
          #  un-comment the following line.
  #       auth_log
  
  ## Enable Python ##
          python     
  #####
  #
          #  The chap module will set 'Auth-Type := CHAP' if we are
          #  handling a CHAP request and Auth-Type has not already been set
          chap
  </code></pre>
  <p>authenticate
  Auth-Type Pyton {
  python
  }</p>
  <p>I also referred a similar question <a href="https://stackoverflow.com/questions/58106687/freeradius-perl-module-unknown-or-invalid-value-perl-for-attribute-auth-type">freeRadius Perl Module Issue</a> regarding Perl and tried enabling Perl which works fine for me but Python doesn't work following the same steps.</p>
  <p>and finally the verbose startup log</p>
  <pre><code>FreeRADIUS Version 3.0.21
  Copyright (C) 1999-2019 The FreeRADIUS server project and contributors
  There is NO warranty; not even for MERCHANTABILITY or FITNESS FOR A
  PARTICULAR PURPOSE
  You may redistribute copies of FreeRADIUS under the terms of the
  GNU General Public License
  For more information about these matters, see the file named COPYRIGHT
  Starting - reading configuration files ...
  including dictionary file /usr/local/Cellar/freeradius-server/3.0.21/share/freeradius/dictionary
  including dictionary file /usr/local/Cellar/freeradius-server/3.0.21/share/freeradius/dictionary.dhcp
  including dictionary file /usr/local/Cellar/freeradius-server/3.0.21/share/freeradius/dictionary.vqp
  including dictionary file /usr/local/Cellar/freeradius-server/3.0.21/etc/raddb/dictionary
  including configuration file /usr/local/Cellar/freeradius-server/3.0.21/etc/raddb/radiusd.conf
  including configuration file /usr/local/Cellar/freeradius-server/3.0.21/etc/raddb/proxy.conf
  including configuration file /usr/local/Cellar/freeradius-server/3.0.21/etc/raddb/clients.conf
  
  including files in directory /usr/local/Cellar/freeradius-server/3.0.21/etc/raddb/sites-enabled/
  including configuration file /usr/local/Cellar/freeradius-server/3.0.21/etc/raddb/sites-enabled/default
  including configuration file /usr/local/Cellar/freeradius-server/3.0.21/etc/raddb/sites-enabled/inner-tunnel
  main {
      name = &quot;radiusd&quot;
      prefix = &quot;/usr/local/Cellar/freeradius-server/3.0.21&quot;
      localstatedir = &quot;/usr/local/var&quot;
      sbindir = &quot;/usr/local/Cellar/freeradius-server/3.0.21/bin&quot;
      logdir = &quot;/usr/local/var/log/radius&quot;
      run_dir = &quot;/usr/local/var/run/radiusd&quot;
      libdir = &quot;/usr/local/Cellar/freeradius-server/3.0.21/lib&quot;
      radacctdir = &quot;/usr/local/var/log/radius/radacct&quot;
      hostname_lookups = no
      max_request_time = 30
      cleanup_delay = 5
      max_requests = 16384
      pidfile = &quot;/usr/local/var/run/radiusd/radiusd.pid&quot;
      checkrad = &quot;/usr/local/Cellar/freeradius-server/3.0.21/bin/checkrad&quot;
      debug_level = 0
      proxy_requests = yes
   log {
      stripped_names = no
      auth = no
      auth_badpass = no
      auth_goodpass = no
      colourise = yes
      msg_denied = &quot;You are already logged in - access denied&quot;
   }
   resources {
   }
   security {
      max_attributes = 200
      reject_delay = 1.000000
      status_server = yes
      allow_vulnerable_openssl = &quot;no&quot;
   }
  }
  radiusd: #### Loading Realms and Home Servers ####
   proxy server {
      retry_delay = 5
      retry_count = 3
      default_fallback = no
      dead_time = 120
      wake_all_if_all_dead = no
   }
   home_server localhost {
      ipaddr = 127.0.0.1
      port = 1812
      type = &quot;auth&quot;
      secret = &lt;&lt;&lt; secret &gt;&gt;&gt;
      response_window = 20.000000
      response_timeouts = 1
      max_outstanding = 65536
      zombie_period = 40
      status_check = &quot;status-server&quot;
      ping_interval = 30
      check_interval = 30
      check_timeout = 4
      num_answers_to_alive = 3
      revive_interval = 120
    limit {
      max_connections = 16
      max_requests = 0
      lifetime = 0
      idle_timeout = 0
    }
    coa {
      irt = 2
      mrt = 16
      mrc = 5
      mrd = 30
    }
   }
   home_server_pool my_auth_failover {
      type = fail-over
      home_server = localhost
   }
   realm example.com {
      auth_pool = my_auth_failover
   }
   realm LOCAL {
   }
  radiusd: #### Loading Clients ####
   client localhost {
      ipaddr = 127.0.0.1
      require_message_authenticator = no
      secret = &lt;&lt;&lt; secret &gt;&gt;&gt;
      nas_type = &quot;other&quot;
      proto = &quot;*&quot;
    limit {
      max_connections = 16
      lifetime = 0
      idle_timeout = 30
    }
   }
   client localhost_ipv6 {
      ipv6addr = ::1
      require_message_authenticator = no
      secret = &lt;&lt;&lt; secret &gt;&gt;
   }
  Found debugger attached
  
  radiusd: #### Instantiating modules ####
   modules {
    # Loaded module rlm_detail
    # Loading module &quot;auth_log&quot; from file /usr/local/Cellar/freeradius-server/3.0.21/etc/raddb/mods-enabled/detail.log
    detail auth_log {
      filename = &quot;/usr/local/var/log/radius/radacct/%{%{Packet-Src-IP-Address}:-%{Packet-Src-IPv6-Address}}/auth-detail-%Y%m%d&quot;
      header = &quot;%t&quot;
      permissions = 384
      locking = no
      escape_filenames = no
      log_packet_header = no
    }
    # Loading module &quot;reply_log&quot;
    detail reply_log {
      filename = &quot;/usr/local/var/log/radius/radacct/%{%{Packet-Src-IP-Address}:-%{Packet-Src-IPv6-Address}}/reply-detail-%Y%m%d&quot;
      header = &quot;%t&quot;
      permissions = 384
      locking = no
      escape_filenames = no
      log_packet_header = no
    }
    detail pre_proxy_log {
      filename = &quot;/usr/local/var/log/radius/radacct/%{%{Packet-Src-IP-Address}:-%{Packet-Src-IPv6-Address}}/pre-proxy-detail-%Y%m%d&quot;
      header = &quot;%t&quot;
      permissions = 384
      locking = no
      escape_filenames = no
      log_packet_header = no
    }
    # Loading module &quot;post_proxy_log&quot;
      filename = &quot;/usr/local/var/log/radius/radacct/%{%{Packet-Src-IP-Address}:-%{Packet-Src-IPv6-Address}}/post-proxy-detail-%Y%m%d&quot;
      header = &quot;%t&quot;
      permissions = 384
      locking = no
      escape_filenames = no
      log_packet_header = no
    }
  
    # Loading module &quot;eap&quot;
    eap {
      default_eap_type = &quot;md5&quot;
      timer_expire = 60
      ignore_unknown_eap_types = no
      cisco_accounting_username_bug = no
      max_sessions = 16384
    }
    # Loaded module rlm_exec
    # Loading module &quot;echo&quot; 
    exec echo {
      wait = yes
      program = &quot;/bin/echo %{User-Name}&quot;
      input_pairs = &quot;request&quot;
      output_pairs = &quot;reply&quot;
      shell_escape = yes
    }
    # Loaded module rlm_python
    # Loading module &quot;python&quot; from file /usr/local/Cellar/freeradius-server/3.0.21/etc/raddb/mods-enabled/python
    python {
      mod_instantiate = &quot;example&quot;
      func_instantiate = &quot;instantiate&quot;
      mod_authorize = &quot;example&quot;
      func_authorize = &quot;authorize&quot;
      mod_authenticate = &quot;example&quot;
      mod_preacct = &quot;example&quot;
      mod_accounting = &quot;example&quot;
      mod_checksimul = &quot;example&quot;
      mod_pre_proxy = &quot;example&quot;
      mod_post_proxy = &quot;example&quot;
      mod_post_auth = &quot;example&quot;
      mod_recv_coa = &quot;example&quot;
      mod_send_coa = &quot;example&quot;
      mod_detach = &quot;example&quot;
      python_path = &quot;/usr/local/Cellar/freeradius-server/3.0.21/etc/raddb/mods-config/python&quot;
      cext_compat = yes
      pass_all_vps = no
      pass_all_vps_dict = no
    }
    # Loaded module rlm_utf8
    # Loading module &quot;utf8&quot; 
    # Loaded module rlm_ldap
    # Loading module &quot;ldap&quot; from file /usr/local/Cellar/freeradius-server/3.0.21/etc/raddb/mods-enabled/ldap
    ldap {
      server = &quot;localhost&quot;
      port = 389
      identity = &quot;cn=Directory Manager&quot;
      password = &lt;&lt;&lt; secret &gt;&gt;&gt;
     sasl {
     }
      user_dn = &quot;LDAP-UserDn&quot;
     user {
      scope = &quot;sub&quot;
      access_positive = yes
      sasl {
      }
     }
     
     client {
      filter = &quot;(objectClass=radiusClient)&quot;
      scope = &quot;sub&quot;
      base_dn = &quot;ou=people,ou=identities&quot;
     }
     profile {
     }
     options {
      ldap_debug = 40
      chase_referrals = yes
      rebind = yes
      net_timeout = 1
      res_timeout = 10
      srv_timelimit = 3
      idle = 60
      probes = 3
      interval = 3
     }
     tls {
      start_tls = no
     }
    }
  
    # Loading module &quot;fail&quot; from file /usr/local/Cellar/freeradius-server/3.0.21/etc/raddb/mods-enabled/always
    always fail {
      rcode = &quot;fail&quot;
      simulcount = 0
      mpp = no
    }
    # Loading module &quot;ok&quot; from file /usr/local/Cellar/freeradius-server/3.0.21/etc/raddb/mods-enabled/always
    always ok {
      rcode = &quot;ok&quot;
      simulcount = 0
      mpp = no
    }
    # Loading module &quot;handled&quot; from file /usr/local/Cellar/freeradius-server/3.0.21/etc/raddb/mods-enabled/always
    always handled {
      rcode = &quot;handled&quot;
      simulcount = 0
      mpp = no
    }
  
    # Loading module &quot;userlock&quot; from file /usr/local/Cellar/freeradius-server/3.0.21/etc/raddb/mods-enabled/always
    always userlock {
      rcode = &quot;userlock&quot;
      simulcount = 0
      mpp = no
    }
  
    # Loaded module rlm_perl
    # Loading module &quot;perl&quot; from file /usr/local/Cellar/freeradius-server/3.0.21/etc/raddb/mods-enabled/perl
    perl {
      filename = &quot;/usr/local/Cellar/freeradius-server/3.0.21/etc/raddb/mods-config/perl/example.pl&quot;
      func_authorize = &quot;authorize&quot;
      func_authenticate = &quot;authenticate&quot;
      func_post_auth = &quot;post_auth&quot;
      func_accounting = &quot;accounting&quot;
      func_preacct = &quot;preacct&quot;
      func_checksimul = &quot;checksimul&quot;
      func_detach = &quot;detach&quot;
      func_xlat = &quot;xlat&quot;
      func_pre_proxy = &quot;pre_proxy&quot;
      func_post_proxy = &quot;post_proxy&quot;
      func_recv_coa = &quot;recv_coa&quot;
      func_send_coa = &quot;send_coa&quot;
      perl_flags = &quot;-T&quot;
    }
    # Loaded module rlm_digest
    # Loading module &quot;digest&quot; from file /usr/local/Cellar/freeradius-server/3.0.21/etc/raddb/mods-enabled/digest
    # Loaded module rlm_date
    # Loading module &quot;date&quot; from file /usr/local/Cellar/freeradius-server/3.0.21/etc/raddb/mods-enabled/date
    date {
      format = &quot;%b %e %Y %H:%M:%S %Z&quot;
      utc = no
    }
    # Loading module &quot;wispr2date&quot; from file /usr/local/Cellar/freeradius-server/3.0.21/etc/raddb/mods-enabled/date
    date wispr2date {
      format = &quot;%Y-%m-%dT%H:%M:%S&quot;
      utc = no
    }
    # Loaded module rlm_preprocess
    # Loading module &quot;preprocess&quot; from file /usr/local/Cellar/freeradius-server/3.0.21/etc/raddb/mods-enabled/preprocess
    preprocess {
      huntgroups = &quot;/usr/local/Cellar/freeradius-server/3.0.21/etc/raddb/mods-config/preprocess/huntgroups&quot;
      hints = &quot;/usr/local/Cellar/freeradius-server/3.0.21/etc/raddb/mods-config/preprocess/hints&quot;
      with_ascend_hack = no
      ascend_channels_per_line = 23
      with_ntdomain_hack = no
      with_specialix_jetstream_hack = no
      with_cisco_vsa_hack = no
      with_alvarion_vsa_hack = no
    }
    # Loaded module rlm_pap
    # Loading module &quot;pap&quot; from file /usr/local/Cellar/freeradius-server/3.0.21/etc/raddb/mods-enabled/pap
    pap {
      normalise = yes
    }
    # Loaded module rlm_expr
    # Loading module &quot;expr&quot; from file /usr/local/Cellar/freeradius-server/3.0.21/etc/raddb/mods-enabled/expr
    expr {
      safe_characters = &quot;@abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ0123456789.-_: /äéöüàâæçèéêëîïôœùûüaÿÄÉÖÜßÀÂÆÇÈÉÊËÎÏÔŒÙÛÜŸ&quot;
    }
    # Loaded module rlm_radutmp
    # Loading module &quot;radutmp&quot; from file /usr/local/Cellar/freeradius-server/3.0.21/etc/raddb/mods-enabled/radutmp
    radutmp {
      filename = &quot;/usr/local/var/log/radius/radutmp&quot;
      username = &quot;%{User-Name}&quot;
      case_sensitive = yes
      check_with_nas = yes
      permissions = 384
      caller_id = yes
    }
    
    # Loaded module rlm_unix
    # Loading module &quot;unix&quot; from file /usr/local/Cellar/freeradius-server/3.0.21/etc/raddb/mods-enabled/unix
    unix {
      radwtmp = &quot;/usr/local/var/log/radius/radwtmp&quot;
    }
  Creating attribute Unix-Group
    # Loading module &quot;detail&quot; from file /usr/local/Cellar/freeradius-server/3.0.21/etc/raddb/mods-enabled/detail
    detail {
      filename = &quot;/usr/local/var/log/radius/radacct/%{%{Packet-Src-IP-Address}:-%{Packet-Src-IPv6-Address}}/detail-%Y%m%d&quot;
      header = &quot;%t&quot;
      permissions = 384
      locking = no
      escape_filenames = no
      log_packet_header = no
    }
    # Loaded module rlm_attr_filter
  
    attr_filter attr_filter.post-proxy {
      filename = &quot;/usr/local/Cellar/freeradius-server/3.0.21/etc/raddb/mods-config/attr_filter/post-proxy&quot;
      key = &quot;%{Realm}&quot;
      relaxed = no
    }
    # Loading module &quot;attr_filter.pre-proxy&quot; from file /usr/local/Cellar/freeradius-server/3.0.21/etc/raddb/mods-enabled/attr_filter
    attr_filter attr_filter.pre-proxy {
      filename = &quot;/usr/local/Cellar/freeradius-server/3.0.21/etc/raddb/mods-config/attr_filter/pre-proxy&quot;
      key = &quot;%{Realm}&quot;
      relaxed = no
    }
    # Loading module &quot;attr_filter.access_reject&quot; from file /usr/local/Cellar/freeradius-server/3.0.21/etc/raddb/mods-enabled/attr_filter
    attr_filter attr_filter.access_reject {
      filename = &quot;/usr/local/Cellar/freeradius-server/3.0.21/etc/raddb/mods-config/attr_filter/access_reject&quot;
      key = &quot;%{User-Name}&quot;
      relaxed = no
    }
    # Loading module &quot;attr_filter.access_challenge&quot; from file /usr/local/Cellar/freeradius-server/3.0.21/etc/raddb/mods-enabled/attr_filter
    attr_filter attr_filter.access_challenge {
      filename = &quot;/usr/local/Cellar/freeradius-server/3.0.21/etc/raddb/mods-config/attr_filter/access_challenge&quot;
      key = &quot;%{User-Name}&quot;
      relaxed = no
    }
   
   
    # Loading module &quot;exec&quot; from file /usr/local/Cellar/freeradius-server/3.0.21/etc/raddb/mods-enabled/exec
    exec {
      wait = no
      input_pairs = &quot;request&quot;
      shell_escape = yes
      timeout = 10
    }
    # Loaded module rlm_files
    # Loading module &quot;files&quot; from file /usr/local/Cellar/freeradius-server/3.0.21/etc/raddb/mods-enabled/files
    files {
      filename = &quot;/usr/local/Cellar/freeradius-server/3.0.21/etc/raddb/mods-config/files/authorize&quot;
      acctusersfile = &quot;/usr/local/Cellar/freeradius-server/3.0.21/etc/raddb/mods-config/files/accounting&quot;
      preproxy_usersfile = &quot;/usr/local/Cellar/freeradius-server/3.0.21/etc/raddb/mods-config/files/pre-proxy&quot;
    }
    # Loaded module rlm_replicate
    # Loading module &quot;replicate&quot; from file /usr/local/Cellar/freeradius-server/3.0.21/etc/raddb/mods-enabled/replicate
    # Loaded module rlm_chap
    # Loading module &quot;chap&quot; from file /usr/local/Cellar/freeradius-server/3.0.21/etc/raddb/mods-enabled/chap
    # Loaded module rlm_unpack
    # Loading module &quot;unpack&quot; from file /usr/local/Cellar/freeradius-server/3.0.21/etc/raddb/mods-enabled/unpack
    # Loaded module rlm_logintime
    # Loading module &quot;logintime&quot; from file /usr/local/Cellar/freeradius-server/3.0.21/etc/raddb/mods-enabled/logintime
    logintime {
      minimum_timeout = 60
    }
   
    # Loaded module rlm_mschap
    # Loading module &quot;mschap&quot; from file /usr/local/Cellar/freeradius-server/3.0.21/etc/raddb/mods-enabled/mschap
    mschap {
      use_mppe = yes
      require_encryption = no
      require_strong = no
      with_ntdomain_hack = yes
     passchange {
     }
      allow_retry = yes
      winbind_retry_with_normalised_username = no
      use_open_directory = yes
    }
   
    # Instantiating module &quot;eap&quot; from file /usr/local/Cellar/freeradius-server/3.0.21/etc/raddb/mods-enabled/eap
     # Linked to sub-module rlm_eap_md5
     # Linked to sub-module rlm_eap_leap
     # Linked to sub-module rlm_eap_gtc
     gtc {
      challenge = &quot;Password: &quot;
      auth_type = &quot;PAP&quot;
     }
     # Linked to sub-module rlm_eap_tls
     tls {
      tls = &quot;tls-common&quot;
     }
     tls-config tls-common {
      verify_depth = 0
      ca_path = &quot;/usr/local/Cellar/freeradius-server/3.0.21/etc/raddb/certs&quot;
      pem_file_type = yes
      private_key_file = &quot;/usr/local/Cellar/freeradius-server/3.0.21/etc/raddb/certs/server.pem&quot;
      certificate_file = &quot;/usr/local/Cellar/freeradius-server/3.0.21/etc/raddb/certs/server.pem&quot;
      ca_file = &quot;/usr/local/Cellar/freeradius-server/3.0.21/etc/raddb/certs/ca.pem&quot;
      private_key_password = &lt;&lt;&lt; secret &gt;&gt;&gt;
      dh_file = &quot;/usr/local/Cellar/freeradius-server/3.0.21/etc/raddb/certs/dh&quot;
      fragment_size = 1024
      include_length = yes
      auto_chain = yes
      check_crl = no
      check_all_crl = no
      cipher_list = &quot;DEFAULT&quot;
      cipher_server_preference = no
      ecdh_curve = &quot;prime256v1&quot;
      disable_tlsv1 = yes
      disable_tlsv1_1 = yes
      tls_max_version = &quot;1.2&quot;
      tls_min_version = &quot;1.2&quot;
      cache {
          enable = no
          lifetime = 24
          max_entries = 255
      }
      verify {
          skip_if_ocsp_ok = no
      }
      ocsp {
          enable = no
          override_cert_url = yes
          url = &quot;http://127.0.0.1/ocsp/&quot;
          use_nonce = yes
          timeout = 0
          softfail = no
      }
     }
  Please use tls_min_version and tls_max_version instead of disable_tlsv1
  Please use tls_min_version and tls_max_version instead of disable_tlsv1_2
     # Linked to sub-module rlm_eap_ttls
     ttls {
      tls = &quot;tls-common&quot;
      default_eap_type = &quot;md5&quot;
      copy_request_to_tunnel = no
      use_tunneled_reply = no
      virtual_server = &quot;inner-tunnel&quot;
      include_length = yes
      require_client_cert = no
     }
  tls: Using cached TLS configuration from previous invocation
     # Linked to sub-module rlm_eap_peap
     peap {
      tls = &quot;tls-common&quot;
      default_eap_type = &quot;mschapv2&quot;
      copy_request_to_tunnel = no
      use_tunneled_reply = no
      proxy_tunneled_request_as_eap = yes
      virtual_server = &quot;inner-tunnel&quot;
      soh = no
      require_client_cert = no
     }
  tls: Using cached TLS configuration from previous invocation
     # Linked to sub-module rlm_eap_mschapv2
     mschapv2 {
      with_ntdomain_hack = no
      send_error = no
     }
    # Instantiating module &quot;python&quot; from file /usr/local/Cellar/freeradius-server/3.0.21/etc/raddb/mods-enabled/python
  Python version: 2.7.16 (default, Apr 17 2020, 18:29:03)  [GCC 4.2.1 Compatible Apple LLVM 11.0.3 (clang-1103.0.29.20) (-macos10.15-objc-
  *** instantiate ***
  None
    # Instantiating module &quot;ldap&quot; from file /usr/local/Cellar/freeradius-server/3.0.21/etc/raddb/mods-enabled/ldap
  rlm_ldap: libldap vendor: OpenLDAP, version: 20428
     accounting {
      reference = &quot;%{tolower:type.%{Acct-Status-Type}}&quot;
     }
     post-auth {
      reference = &quot;.&quot;
     }
  rlm_ldap (ldap): Initialising connection pool
     pool {
      start = 5
      min = 3
      max = 32
      spare = 10
      uses = 0
      lifetime = 0
      cleanup_interval = 30
      idle_timeout = 60
      retry_delay = 30
      spread = no
     }
  rlm_ldap (ldap): Opening additional connection (0), 1 of 32 pending slots used
  rlm_ldap (ldap): Connecting to ldap://localhost:389
  rlm_ldap (ldap): Waiting for bind result...
  rlm_ldap (ldap): Bind successful
  rlm_ldap (ldap): Opening additional connection (1), 1 of 31 pending slots used
  rlm_ldap (ldap): Connecting to ldap://localhost:389
  rlm_ldap (ldap): Waiting for bind result...
  rlm_ldap (ldap): Bind successful
  rlm_ldap (ldap): Opening additional connection (2), 1 of 30 pending slots used
  rlm_ldap (ldap): Connecting to ldap://localhost:389
  rlm_ldap (ldap): Waiting for bind result...
  rlm_ldap (ldap): Bind successful
  rlm_ldap (ldap): Opening additional connection (3), 1 of 29 pending slots used
  rlm_ldap (ldap): Connecting to ldap://localhost:389
  rlm_ldap (ldap): Waiting for bind result...
  rlm_ldap (ldap): Bind successful
  rlm_ldap (ldap): Opening additional connection (4), 1 of 28 pending slots used
  rlm_ldap (ldap): Connecting to ldap://localhost:389
  rlm_ldap (ldap): Waiting for bind result...
  rlm_ldap (ldap): Bind successful
    # Instantiating module &quot;reject&quot; from file /usr/local/Cellar/freeradius-server/3.0.21/etc/raddb/mods-enabled/always
    # Instantiating module &quot;fail&quot; from file /usr/local/Cellar/freeradius-server/3.0.21/etc/raddb/mods-enabled/always
    # Instantiating module &quot;ok&quot; from file /usr/local/Cellar/freeradius-server/3.0.21/etc/raddb/mods-enabled/always
    # Instantiating module &quot;handled&quot; from file /usr/local/Cellar/freeradius-server/3.0.21/etc/raddb/mods-enabled/always
    # Instantiating module &quot;invalid&quot; from file /usr/local/Cellar/freeradius-server/3.0.21/etc/raddb/mods-enabled/always
    # Instantiating module &quot;userlock&quot; from file /usr/local/Cellar/freeradius-server/3.0.21/etc/raddb/mods-enabled/always
    # Instantiating module &quot;notfound&quot; from file /usr/local/Cellar/freeradius-server/3.0.21/etc/raddb/mods-enabled/always
    # Instantiating module &quot;noop&quot; from file /usr/local/Cellar/freeradius-server/3.0.21/etc/raddb/mods-enabled/always
    # Instantiating module &quot;updated&quot; from file /usr/local/Cellar/freeradius-server/3.0.21/etc/raddb/mods-enabled/always
    # Instantiating module &quot;perl&quot; from file /usr/local/Cellar/freeradius-server/3.0.21/etc/raddb/mods-enabled/perl
    # Instantiating module &quot;preprocess&quot; from file /usr/local/Cellar/freeradius-server/3.0.21/etc/raddb/mods-enabled/preprocess
  reading pairlist file /usr/local/Cellar/freeradius-server/3.0.21/etc/raddb/mods-config/preprocess/huntgroups
  reading pairlist file /usr/local/Cellar/freeradius-server/3.0.21/etc/raddb/mods-config/preprocess/hints
    # Instantiating module &quot;pap&quot; from file /usr/local/Cellar/freeradius-server/3.0.21/etc/raddb/mods-enabled/pap
    # Instantiating module &quot;linelog&quot; from file /usr/local/Cellar/freeradius-server/3.0.21/etc/raddb/mods-enabled/linelog
    # Instantiating module &quot;log_accounting&quot; from file /usr/local/Cellar/freeradius-server/3.0.21/etc/raddb/mods-enabled/linelog
    # Instantiating module &quot;detail&quot; from file /usr/local/Cellar/freeradius-server/3.0.21/etc/raddb/mods-enabled/detail
    # Instantiating module &quot;attr_filter.post-proxy&quot; from file /usr/local/Cellar/freeradius-server/3.0.21/etc/raddb/mods-enabled/attr_filter
  reading pairlist file /usr/local/Cellar/freeradius-server/3.0.21/etc/raddb/mods-config/attr_filter/post-proxy
    # Instantiating module &quot;attr_filter.pre-proxy&quot; from file /usr/local/Cellar/freeradius-server/3.0.21/etc/raddb/mods-enabled/attr_filter
  reading pairlist file /usr/local/Cellar/freeradius-server/3.0.21/etc/raddb/mods-config/attr_filter/pre-proxy
    # Instantiating module &quot;attr_filter.access_reject&quot; from file /usr/local/Cellar/freeradius-server/3.0.21/etc/raddb/mods-enabled/attr_filter
  reading pairlist file /usr/local/Cellar/freeradius-server/3.0.21/etc/raddb/mods-config/attr_filter/access_reject
    # Instantiating module &quot;attr_filter.access_challenge&quot; from file /usr/local/Cellar/freeradius-server/3.0.21/etc/raddb/mods-enabled/attr_filter
  reading pairlist file /usr/local/Cellar/freeradius-server/3.0.21/etc/raddb/mods-config/attr_filter/access_challenge
    # Instantiating module &quot;attr_filter.accounting_response&quot; from file /usr/local/Cellar/freeradius-server/3.0.21/etc/raddb/mods-enabled/attr_filter
  reading pairlist file /usr/local/Cellar/freeradius-server/3.0.21/etc/raddb/mods-config/attr_filter/accounting_response
    # Instantiating module &quot;files&quot; from file /usr/local/Cellar/freeradius-server/3.0.21/etc/raddb/mods-enabled/files
  reading pairlist file /usr/local/Cellar/freeradius-server/3.0.21/etc/raddb/mods-config/files/authorize
  /usr/local/Cellar/freeradius-server/3.0.21/etc/raddb/mods-config/files/authorize[1]: Parse error (check) for entry DEFAULT: Unknown or invalid value &quot;Python&quot; for attribute Auth-Type
  Failed reading /usr/local/Cellar/freeradius-server/3.0.21/etc/raddb/mods-config/files/authorize
  /usr/local/Cellar/freeradius-server/3.0.21/etc/raddb/mods-enabled/files[9]: Instantiation failed for module &quot;files&quot;
  </code></pre>