EAP-TTLS PAP Mysql problems

emmcosta emmcosta at gmail.com
Wed Jun 20 20:57:36 CEST 2007


Hi everyone,

I  already configured my freeradius with eap-ttls pap with
authentication on mysql. I obtain authentication, but logs some lines:

Wed Jun 20 19:46:47 2007 : Error: Trying to look up name of unknown
client 127.0.0.1.
Wed Jun 20 19:46:47 2007 : Auth: Login OK: [teste/secret] (from client
UNKNOWN-CLIENT port 327 cli 0040.96a2.24f3)
Wed Jun 20 19:46:47 2007 : Auth: Login OK: [teste/<no User-Password
attribute>] (from client ap2 port 327 cli 0040.96a2.24f3)

My radiusd.conf:

....................

authorize {
            preprocess
            sql
            pap

}

authenticate{
         Auth-Type PAP {
                 pap
         }

         eap

 }
......................

My eap.conf:

 eap{
                 default_eap_type = ttls
                 timer_expire     = 60
                 ignore_unknown_eap_types = no
                 cisco_accounting_username_bug = yes

                 gtc {
                         auth_type = PAP
                 }
                tls {
                         private_key_password = whatever
                         private_key_file = ${raddbdir}/certs/cert-srv.pem


                         certificate_file = ${raddbdir}/certs/cert-srv.pem

                         CA_file = ${raddbdir}/certs/demoCA/cacert.pem

                         dh_file = ${raddbdir}/certs/dh
                         random_file = ${raddbdir}/certs/random
              }
                 ttls {
                         default_eap_type = gtc
			 copy_request_to_tunnel = yes
                         use_tunneled_reply = yes
                }
 }

What it is that I need put in mysql and my configuration, for before I
obtain good authentication return: Tunnel-Type, Tunnel-Medium-Type and
Tunnel-Private-Group-ID for the client make a dhclient in vlan I return?

Best Regards

 -- 
/emmc




More information about the Freeradius-Users mailing list