thanks for your response. Ok, I understand. I was reading some postings on list about LDAP and they were always putting Auth-Type to LDAP manually in users file. Thats why I thought it must be done manually. So theoretically there is no need at all for the users file if I have my whole user attributes in LDAP? Please correct me if I´m wrong I´m just tryin to understand.
Now I deleted the last entry "Auth-Type LDAP" in my users file and I got the message below from debug. Could this error: “rlm_eap_leap: FAILED incorrect NtChallengeResponse from AP” has to do with the fact that there is no User-Password delivered from AP? Or am I wrong and there is a invisible User-Password delivered with EAP Message?
Thanks for help!
regards, cl
rad_recv: Access-Request packet from host 10.0.0.3:1070, id=46, length=138
User-Name = "user1"
Cisco-AVPair = "ssid=uni"
NAS-IP-Address = 10.0.0.3
Called-Station-Id = "00409656234c"
Calling-Station-Id = "000a417d326d"
NAS-Identifier = "ap350"
NAS-Port = 37
Framed-MTU = 1400
NAS-Port-Type = Wireless-802.11
Service-Type = Login-User
EAP-Message = 0x0202000a017573657231
Message-Authenticator = 0xe9df05aa9b0d91d27f636d695b9d8a43
modcall: entering group authorize
modcall[authorize]: module "preprocess" returns ok
modcall[authorize]: module "chap" returns noop
modcall[authorize]: module "attr_filter" returns noop
rlm_eap: EAP packet type notification id 2 length 10
rlm_eap: EAP Start not found
modcall[authorize]: module "eap" returns updated
rlm_realm: No '@' in User-Name = "user1", looking up realm NULL
rlm_realm: No such realm "NULL"
modcall[authorize]: module "suffix" returns noop
modcall[authorize]: module "files" returns notfound
modcall[authorize]: module "mschap" returns noop
rlm_ldap: - authorize
rlm_ldap: performing user authorization for user1
radius_xlat: '(&(sn=user1)(ObjectClass=radiusprofile))'
radius_xlat: 'ou=mainz,dc=mydomain.net'
ldap_get_conn: Got Id: 0
rlm_ldap: performing search in ou=mainz,dc=mydomain.net, with filter (&(sn=user1)(ObjectClass=radiusprofile))
rlm_ldap: checking if remote access for user1 is allowed by dialupAccess
rlm_ldap: Added password = testpwd in check items
rlm_ldap: looking for check items in directory...
rlm_ldap: looking for reply items in directory...
rlm_ldap: Adding radiusFramedIPAddress as Framed-IP-Address, value 10.0.0.23 & op=11
rlm_ldap: Adding radiusFramedProtocol as Framed-Protocol, value PPP & op=11
rlm_ldap: Adding radiusServiceType as Service-Type, value Framed-User & op=11
rlm_ldap: user user1 authorized to use remote access
ldap_release_conn: Release Id: 0
modcall[authorize]: module "ldap" returns ok
modcall: group authorize returns updated
rad_check_password: Found Auth-Type EAP
auth: type "EAP"
modcall: entering group authenticate
rlm_eap: EAP packet type notification id 2 length 10
rlm_eap: EAP Start not found
rlm_eap: EAP Identity
rlm_eap: processing type leap
rlm_eap_leap: Stage 2
rlm_eap_leap: Issuing AP Challenge
rlm_eap_leap: Successfully initiated
modcall[authenticate]: module "eap" returns ok
modcall: group authenticate returns ok
Sending Access-Challenge of id 46 to 10.0.0.3:1070
Framed-IP-Address = 10.0.0.23
Framed-Protocol = PPP
Service-Type = Framed-User
EAP-Message = 0x0103001511010008cef93415f588ff937573657231
Message-Authenticator = 0x00000000000000000000000000000000
State = 0x089db0ee801263209bdf3e68e65862ab3f7bcb6fa873f1eecea7605510940377cae495da
Finished request 14
Going to the next request
--- Walking the entire request list ---
Waking up in 6 seconds...
rad_recv: Access-Request packet from host 10.0.0.3:1071, id=47, length=203
User-Name = "user1"
Cisco-AVPair = "ssid=uni"
NAS-IP-Address = 10.0.0.3
Called-Station-Id = "00409656234c"
Calling-Station-Id = "000a417d326d"
NAS-Identifier = "ap350"
NAS-Port = 37
Framed-MTU = 1400
State = 0x089db0ee801263209bdf3e68e65862ab3f7bcb6fa873f1eecea7605510940377cae495da
NAS-Port-Type = Wireless-802.11
Service-Type = Login-User
EAP-Message = 0x0203002511010018e62e21897199cc3bbc5b407aa427e1cf83145261c044e59d7573657231
Message-Authenticator = 0x994e5c07ef90adce4cd1c14cbd0d9194
modcall: entering group authorize
modcall[authorize]: module "preprocess" returns ok
modcall[authorize]: module "chap" returns noop
modcall[authorize]: module "attr_filter" returns noop
rlm_eap: EAP packet type notification id 3 length 37
rlm_eap: EAP Start not found
modcall[authorize]: module "eap" returns updated
rlm_realm: No '@' in User-Name = "user1", looking up realm NULL
rlm_realm: No such realm "NULL"
modcall[authorize]: module "suffix" returns noop
modcall[authorize]: module "files" returns notfound
modcall[authorize]: module "mschap" returns noop
rlm_ldap: - authorize
rlm_ldap: performing user authorization for user1
radius_xlat: '(&(sn=user1)(ObjectClass=radiusprofile))'
radius_xlat: 'ou=mainz,dc=mydomain.net'
ldap_get_conn: Got Id: 0
rlm_ldap: performing search in ou=mainz,dc=mydomain.net, with filter (&(sn=user1)(ObjectClass=radiusprofile))
rlm_ldap: checking if remote access for user1 is allowed by dialupAccess
rlm_ldap: Added password = testpwd in check items
rlm_ldap: looking for check items in directory...
rlm_ldap: looking for reply items in directory...
rlm_ldap: Adding radiusFramedIPAddress as Framed-IP-Address, value 10.0.0.23 & op=11
rlm_ldap: Adding radiusFramedProtocol as Framed-Protocol, value PPP & op=11
rlm_ldap: Adding radiusServiceType as Service-Type, value Framed-User & op=11
rlm_ldap: user user1 authorized to use remote access
ldap_release_conn: Release Id: 0
modcall[authorize]: module "ldap" returns ok
modcall: group authorize returns updated
rad_check_password: Found Auth-Type EAP
auth: type "EAP"
modcall: entering group authenticate
rlm_eap: EAP packet type notification id 3 length 37
rlm_eap: EAP Start not found
rlm_eap: Request found, released from the list
rlm_eap: EAP_TYPE - leap
rlm_eap: processing type leap
rlm_eap_leap: Stage 4
rlm_eap_leap: FAILED incorrect NtChallengeResponse from AP
modcall[authenticate]: module "eap" returns invalid
modcall: group authenticate returns invalid
auth: Failed to validate the user.
Delaying request 15 for 1 seconds
Finished request 15
Going to the next request
Waking up in 6 seconds...
rad_recv: Access-Request packet from host 10.0.0.3:1071, id=47, length=203
Sending Access-Reject of id 47 to 10.0.0.3:1071
EAP-Message = 0x04030004
Message-Authenticator = 0x00000000000000000000000000000000
--- Walking the entire request list ---
Waking up in 1 seconds...
--- Walking the entire request list ---
Cleaning up request 14 ID 46 with timestamp 3f7bcb6f
Cleaning up request 15 ID 47 with timestamp 3f7bcb6f
Nothing to do. Sleeping until we see a request.
- List info/subscribe/unsubscribe? See http://www.freeradius.org/list/users.html
