<html xmlns:v="urn:schemas-microsoft-com:vml" xmlns:o="urn:schemas-microsoft-com:office:office" xmlns:w="urn:schemas-microsoft-com:office:word" xmlns:m="http://schemas.microsoft.com/office/2004/12/omml" xmlns="http://www.w3.org/TR/REC-html40">
<head>
<meta http-equiv=Content-Type content="text/html; charset=us-ascii">
<meta name=Generator content="Microsoft Word 12 (filtered medium)">
<style>
<!--
/* Font Definitions */
@font-face
{font-family:Calibri;
panose-1:2 15 5 2 2 2 4 3 2 4;}
/* Style Definitions */
p.MsoNormal, li.MsoNormal, div.MsoNormal
{margin:0cm;
margin-bottom:.0001pt;
font-size:11.0pt;
font-family:"Calibri","sans-serif";}
a:link, span.MsoHyperlink
{mso-style-priority:99;
color:blue;
text-decoration:underline;}
a:visited, span.MsoHyperlinkFollowed
{mso-style-priority:99;
color:purple;
text-decoration:underline;}
span.EmailStyle17
{mso-style-type:personal-compose;
font-family:"Calibri","sans-serif";
color:windowtext;}
.MsoChpDefault
{mso-style-type:export-only;}
@page Section1
{size:612.0pt 792.0pt;
margin:72.0pt 72.0pt 72.0pt 72.0pt;}
div.Section1
{page:Section1;}
-->
</style>
<!--[if gte mso 9]><xml>
<o:shapedefaults v:ext="edit" spidmax="1026" />
</xml><![endif]--><!--[if gte mso 9]><xml>
<o:shapelayout v:ext="edit">
<o:idmap v:ext="edit" data="1" />
</o:shapelayout></xml><![endif]-->
</head>
<body lang=EN-GB link=blue vlink=purple>
<div class=Section1>
<p class=MsoNormal>Can someone please help provide a clue into the problems
with using ntlm_auth in a Freeradius config running on Debian.<o:p></o:p></p>
<p class=MsoNormal><o:p> </o:p></p>
<p class=MsoNormal>The user/password information are held in the LDAP
server. I have been able to authenticate successfully with packets coming
from non-EAP clients. But for EAP authentication clients, I have been
receiving the following error lines. (I am using ntlm_auth =
"/usr/bin/ntlm_auth --request-nt-key
--username=%{Stripped-User-Name:-%{User-Name:-None}}
--challenge=%{mschap:Challenge:-00} to call the LDAP server.<o:p></o:p></p>
<p class=MsoNormal><o:p> </o:p></p>
<p class=MsoNormal><o:p> </o:p></p>
<p class=MsoNormal><o:p> </o:p></p>
<p class=MsoNormal>Found Auth-Type = EAP<o:p></o:p></p>
<p class=MsoNormal>+- entering group authenticate {...}<o:p></o:p></p>
<p class=MsoNormal>[eap] Request found, released from the list<o:p></o:p></p>
<p class=MsoNormal>[eap] EAP/mschapv2<o:p></o:p></p>
<p class=MsoNormal>[eap] processing type mschapv2<o:p></o:p></p>
<p class=MsoNormal>[mschapv2] +- entering group MS-CHAP {...}<o:p></o:p></p>
<p class=MsoNormal>[mschap] No Cleartext-Password configured. Cannot
create LM-Password.<o:p></o:p></p>
<p class=MsoNormal>[mschap] No Cleartext-Password configured. Cannot
create NT-Password.<o:p></o:p></p>
<p class=MsoNormal>[mschap] Told to do MS-CHAPv2 for otha1_00 with NT-Password<o:p></o:p></p>
<p class=MsoNormal>[mschap] WARNING: Deprecated conditional expansion
":-". See "man unlang" for details<o:p></o:p></p>
<p class=MsoNormal>[mschap] WARNING: Deprecated conditional expansion
":-". See "man unlang" for details<o:p></o:p></p>
<p class=MsoNormal>[mschap] expand:
--username=%{Stripped-User-Name:-%{User-Name:-None}} -> --username=otha1_00<o:p></o:p></p>
<p class=MsoNormal>[mschap] mschap2: 18<o:p></o:p></p>
<p class=MsoNormal>[mschap] expand:
--challenge=%{mschap:Challenge:-00} -> --challenge=b06bae6a129ec4e7<o:p></o:p></p>
<p class=MsoNormal>[mschap] expand:
--nt-response=%{mschap:NT-Response:-00} ->
--nt-response=c0bec1a04bdd9fb489ef30a2bc22e5806405493ac2038167<o:p></o:p></p>
<p class=MsoNormal>Exec-Program output: Invalid handle (0xc0000008)<o:p></o:p></p>
<p class=MsoNormal>Exec-Program-Wait: plaintext: Invalid handle (0xc0000008)<o:p></o:p></p>
<p class=MsoNormal>Exec-Program: returned: 1<o:p></o:p></p>
<p class=MsoNormal>[mschap] External script failed.<o:p></o:p></p>
<p class=MsoNormal>[mschap] FAILED: MS-CHAP2-Response is incorrect<o:p></o:p></p>
<p class=MsoNormal>++[mschap] returns reject<o:p></o:p></p>
<p class=MsoNormal>[eap] Freeing handler<o:p></o:p></p>
<p class=MsoNormal>++[eap] returns reject<o:p></o:p></p>
<p class=MsoNormal>Failed to authenticate the user.<o:p></o:p></p>
<p class=MsoNormal>} # server inner-tunnel<o:p></o:p></p>
<p class=MsoNormal>[peap] Got tunneled reply code 3<o:p></o:p></p>
<p class=MsoNormal> MS-CHAP-Error =
"\026E=691 R=1"<o:p></o:p></p>
<p class=MsoNormal> EAP-Message =
0x04160004<o:p></o:p></p>
<p class=MsoNormal>
Message-Authenticator = 0x00000000000000000000000000000000<o:p></o:p></p>
<p class=MsoNormal>[peap] Got tunneled reply RADIUS code 3<o:p></o:p></p>
<p class=MsoNormal> MS-CHAP-Error =
"\026E=691 R=1"<o:p></o:p></p>
<p class=MsoNormal> EAP-Message =
0x04160004<o:p></o:p></p>
<p class=MsoNormal>
Message-Authenticator = 0x00000000000000000000000000000000<o:p></o:p></p>
<p class=MsoNormal>[peap] Tunneled authentication was rejected. <o:p></o:p></p>
<p class=MsoNormal><o:p> </o:p></p>
<p class=MsoNormal><o:p> </o:p></p>
<p class=MsoNormal>Clement<o:p></o:p></p>
</div>
</body>
</html>