Answer the question
In order to leave comments, you need to log in
Compatibility issue between MS-CHAPv2 and ldap base?
There is a bunch of client(MacOS)<->aruba(iap207)<->freeradius(2.2.5)<->ldap(slapd). Radius and Ldap are physically different machines. Ldap stores user passwords in ssha1(+salt). On aruba (iap207), functionality is enabled that allows you to terminate the eap tunnel directly on the access point, and the controller already transmits a pure RADIUS packet encapsulated in udp to the radius.
User-Name = "noc.noc"
1) NAS-IP-Address = 172.16.98.9
2) NAS-Port = 0
3) NAS-Port-Type = Wireless-802.11
4) Calling-Station-Id = "0088653dc372"
5 ) Called-Station-Id = "24f27fcef196"
6) Service-Type = Framed-User
7) Aruba-Essid-Name = "NOC"
8) Aruba-Location-Id = "leo-lv10-ap09-sw0168"
9) Aruba -AP-Group="leo-lv10-cluster-aps"
10) MS-CHAP-Challenge=0x7f3f68430d3da8d4c0c4af**********************
11) MS-CHAP2 -Response = 0x0e4de87a4eced1541ebb4e7224b50fda0000000000000000eb81498b02475cb58********
12) Message-Authenticator = 0x81ae3c61e25ed97fb37caf82c448cb29
Answer the question
In order to leave comments, you need to log in
MS-CHAPv2 uses a password in NT encryption (MD4 from a password in Unicode-16), so it cannot "decrypt" or otherwise use a SHA-1 password. What happens depends on the LDAP and RADIUS server configuration. Approximate possible options:
1. The password is in clear text or in NT encryption without salt, and not in SHA-1 with salt (perhaps in addition to the SHA-1 password with salt as a separate attribute) - most likely.
2. LDAP supports NTLM authentication and, in fact, RADIUS proxies NTLM
authentication in LDAP, and does not use the password stored in LDAP
3. The password is not taken from LDAP - it is also very likely
-CHAPv2 this should not work, because authorization is mutual there)
5. Not MS-CHAPv2 is used, but something else
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question