I am using freeradius-1.0.2 to do peap authentication. I want to use openldap to be the central db storing the user account. I have configured the freeradius to use rlm_ldap module. But when the radius is started and receives the request from the client by inputing the user name and password, the following error comes out: rad_recv: Access-Request packet from host 10.1.0.5:1029, id=98, length=214 Framed-MTU = 1480 NAS-IP-Address = 10.1.0.5 NAS-Identifier = "HP ProCurve Switch 2524" User-Name = "beyhan" Service-Type = Framed-User Framed-Protocol = PPP NAS-Port = 2 NAS-Port-Type = Ethernet NAS-Port-Id = "2" Called-Station-Id = "00-0f-20-51-9b-e2" Calling-Station-Id = "08-00-46-ce-06-fe" Connect-Info = "CONNECT Ethernet 100Mbps Full duplex" Tunnel-Type:0 = VLAN Tunnel-Medium-Type:0 = IEEE-802 Tunnel-Private-Group-Id:0 = "1" EAP-Message = 0x0202000b0162657968616e Message-Authenticator = 0x1e5d87302f350d8ea133e0c5d6398ca4 Processing the authorize section of radiusd.conf modcall: entering group authorize for request 0 modcall[authorize]: module "preprocess" returns ok for request 0 modcall[authorize]: module "mschap" returns noop for request 0 rlm_realm: No '@' in User-Name = "beyhan", looking up realm NULL rlm_realm: No such realm "NULL" modcall[authorize]: module "suffix" returns noop for request 0 rlm_eap: EAP packet type response id 2 length 11 rlm_eap: No EAP Start, assuming it's an on-going EAP conversation modcall[authorize]: module "eap" returns updated for request 0 users: Matched entry DEFAULT at line 158 users: Matched entry DEFAULT at line 178 users: Matched entry DEFAULT at line 190 modcall[authorize]: module "files" returns ok for request 0 rlm_ldap: - authorize rlm_ldap: performing user authorization for EAP radius_xlat: '(uid=username)' radius_xlat: 'ou=people,dc=young,dc=se' ldap_get_conn: Got Id: 0 rlm_ldap: attempting LDAP reconnection rlm_ldap: (re)connect to 10.1.0.30:389, authentication 0 rlm_ldap: bind as cn=admin,dc=young,dc=se/young to 10.1.0.30:389 rlm_ldap: waiting for bind result ... rlm_ldap: performing search in ou=people,dc=young,dc=se, with filter (uid=username) ./run-radiusd: line 5: 11292 Segmentation fault /usr/local/sbin/radiusd $@
I really don't know how to fix the problem. Please give me some advise if anyone knows. Thank you very much! Richard - List info/subscribe/unsubscribe? See http://www.freeradius.org/list/users.html