Hi,

I am using freeradius-snapshot-20040114

Want to authenticate my users with PEAP and password stored into LDAP.

Here is an extract of my radiusd.conf and logs of my server

When the client try to authenticate --> Segmentation fault (core dumped)

Have u got an idea to solve this problem ??? Known Bug ???


modules {
        
        unix {          
                cache = no              
                radwtmp = ${logdir}/radwtmp
        }
         
        eap {
                default_eap_type = tls
                timer_expire     = 60
                
                tls {
                        private_key_password = ****
                        private_key_file = /usr/local/freeradius/serveur.pem
                        certificate_file = /usr/local/freeradius/serveur.pem
                        CA_file = /usr/local/freeradius/root.pem
                        dh_file = /usr/local/freeradius/DH
                        random_file = /usr/local/freeradius/random
                
                                fragment_size = 1024
                                include_length = yes
                }

                        peap {

                        default_eap_type = mschapv2
                        }

                        mschapv2 {
                        }

        }

        
        mschap {
                
                authtype = MS-CHAP
                
                                
        }

         
        ldap {
        server = "serveur.utt.fr"
                
        basedn = "ou=people,ou=personnels,dc=utt,dc=fr"
        filter = "(uid=%{Stripped-User-Name:-%{User-Name}})"
        
        ldap_connections_number = 5
        password_header = "{crypt}"
        password_attribute = userPassword
                
        }
        }
----------------------------
Logs of the serveur
------------------------------------------
Ready to process requests.
rad_recv: Access-Request packet from host 10.15.0.3:21645, id=3, length=117
        User-Name = "ebel"
        Framed-MTU = 1400
        Called-Station-Id = "0002.8a5b.38ad"
        Calling-Station-Id = "0090.4bb3.5df1"
        Message-Authenticator = 0x1c87ce25c0f8a057e08fefa148f60b72
        EAP-Message = 0x02020009016562656c
        NAS-Port-Type = Wireless-802.11
        NAS-Port = 261
        Service-Type = Framed-User
        NAS-IP-Address = 10.15.0.3
modcall: entering group authorize for request 0
  modcall[authorize]: module "preprocess" returns ok for request 0
radius_xlat:
'/usr/local/var/log/radius/radacct/10.15.0.3/auth-detail-20040202'
rlm_detail:
/usr/local/var/log/radius/radacct/%{Client-IP-Address}/auth-detail-%Y%m%d
expands to /usr/local/var/log/radius/radacct/10.15.0.3/auth-detail-20040202
  modcall[authorize]: module "auth_log" returns ok for request 0
  rlm_eap: EAP packet type response id 2 length 9
  rlm_eap: No EAP Start, assuming it's an on-going EAP conversation
  modcall[authorize]: module "eap" returns updated for request 0
    rlm_realm: No '@' in User-Name = "ebel", looking up realm NULL
    rlm_realm: No such realm "NULL"
  modcall[authorize]: module "suffix" returns noop for request 0
    users: Matched DEFAULT at 157
    users: Matched DEFAULT at 176
  modcall[authorize]: module "files" returns ok for request 0
rlm_ldap: - authorize
rlm_ldap: performing user authorization for ebel
radius_xlat:  '(uid=ebel)'
radius_xlat:  'ou=people,ou=personnels,dc=utt,dc=fr'
ldap_get_conn: Got Id: 0
rlm_ldap: attempting LDAP reconnection
rlm_ldap: (re)connect to serveur.utt.fr:389, authentication 0
rlm_ldap: bind as / to serveur.utt.fr:389
rlm_ldap: waiting for bind result ...
rlm_ldap: Bind was successful
rlm_ldap: performing search in ou=people,ou=personnels,dc=utt,dc=fr, with
filter (uid=ebel)
rlm_ldap: looking for check items in directory...
rlm_ldap: looking for reply items in directory...
rlm_ldap: user ebel authorized to use remote access
ldap_release_conn: Release Id: 0
  modcall[authorize]: module "ldap" returns ok for request 0
modcall: group authorize returns updated for request 0
  rad_check_password:  Found Auth-Type EAP
auth: type "EAP"
modcall: entering group authenticate for request 0
  rlm_eap: EAP Identity
  rlm_eap: processing type tls
  rlm_eap_tls: Initiate
Segmentation fault (core dumped)



- 
List info/subscribe/unsubscribe? See http://www.freeradius.org/list/users.html

Reply via email to