<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:"Cambria Math";
        panose-1:2 4 5 3 5 4 6 3 2 4;}
@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 90.0pt 72.0pt 90.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=FR-CA link=blue vlink=purple>

<div class=Section1>

<p class=MsoNormal>The "MS-CHAP-Use-NTLM-Auth := no"  did the
job but I still have one problem with Windows XP clients, I get a "
[mschap] ERROR: User-Name (CAD08862\ldapuser) is not the same as MS-CHAP Name
(ldapuser) from EAP-MSCHAPv2". Users log on locally, the host name is not
a domain name. Windows 7 clients work fine because they send only the username.
I do some rewrites so I can get the username for the LDAP authentication and
the computers name for computer account authentication (I'm not familiar with
unlang yet).  We use FR 2.1.10.<o:p></o:p></p>

<p class=MsoNormal><o:p> </o:p></p>

<p class=MsoNormal>Any idea how to fix this ?<o:p></o:p></p>

<p class=MsoNormal><o:p> </o:p></p>

<p class=MsoNormal><o:p> </o:p></p>

<p class=MsoNormal>Windows XP debug:  http://www.cspi.qc.ca/sinfrmc/windowsxp.htm<o:p></o:p></p>

<p class=MsoNormal><o:p> </o:p></p>

<p class=MsoNormal>Windows 7 debug:     http://www.cspi.qc.ca/sinfrmc/windows7.htm<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><o:p> </o:p></p>

<p class=MsoNormal>On 05/05/11 15:17, Robert Mc Cready wrote:<o:p></o:p></p>

<p class=MsoNormal>> We use Novell eDirectory and DSFW (Directory Services
for Windows) <o:p></o:p></p>

<p class=MsoNormal>> which is kind of a Windows domain inside an OU in
eDirectory. I want <o:p></o:p></p>

<p class=MsoNormal>> to authenticate users using LDAP and Windows computers
account using <o:p></o:p></p>

<p class=MsoNormal>> ntlm_auth. There is only computers accounts in the
Windows domain.<o:p></o:p></p>

<p class=MsoNormal>><o:p> </o:p></p>

<p class=MsoNormal>> The computer authentication is working fine but the
users <o:p></o:p></p>

<p class=MsoNormal>> authentication with LDAP fails if ntlm_auth is
configured. If I don't <o:p></o:p></p>

<p class=MsoNormal>> use ntlm_auth the users authentication works. Is there
a way to have <o:p></o:p></p>

<p class=MsoNormal>> both of them working together?<o:p></o:p></p>

<p class=MsoNormal><o:p> </o:p></p>

<p class=MsoNormal>Yes. Something like this:<o:p></o:p></p>

<p class=MsoNormal><o:p> </o:p></p>

<p class=MsoNormal>authorize {<o:p></o:p></p>

<p class=MsoNormal>   ...<o:p></o:p></p>

<p class=MsoNormal>   if (User-Name !~ /^host\//) {<o:p></o:p></p>

<p class=MsoNormal>     update control {<o:p></o:p></p>

<p class=MsoNormal>       MS-CHAP-Use-NTLM-Auth
:= no<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>}<o:p></o:p></p>

<p class=MsoNormal>-<o:p></o:p></p>

<p class=MsoNormal>List info/subscribe/unsubscribe? See
http://www.freeradius.org/list/users.html<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><o:p> </o:p></p>

<p class=MsoNormal>We use Novell eDirectory and DSFW (Directory Services for
Windows) which is kind of a Windows domain inside an OU in eDirectory. I want
to authenticate users using LDAP and Windows computers account using 
ntlm_auth. There is only computers accounts in the Windows domain. <o:p></o:p></p>

<p class=MsoNormal><o:p> </o:p></p>

<p class=MsoNormal>The computer authentication is working fine but the users
authentication with LDAP fails if ntlm_auth is configured. If I don't use
ntlm_auth the users authentication works. Is there a way to have both of them
working together?<o:p></o:p></p>

<p class=MsoNormal><o:p> </o:p></p>

<p class=MsoNormal>We use PEAP.<o:p></o:p></p>

<p class=MsoNormal><o:p> </o:p></p>

<p class=MsoNormal>Working user authentication with LDAP debug (ntlm_auth not
configured):    
http://www.cspi.qc.ca/sinfrmc/ldap_only.htm<o:p></o:p></p>

<p class=MsoNormal><o:p> </o:p></p>

<p class=MsoNormal>Working Windows computer account
authentication:    http://www.cspi.qc.ca/sinfrmc/mschap_only.htm<o:p></o:p></p>

<p class=MsoNormal><o:p> </o:p></p>

<p class=MsoNormal>User account getting rejected debug (with ntlm_auth
configured):   
http://www.cspi.qc.ca/sinfrmc/mschap_and_ldap.htm<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>Thanks,<o:p></o:p></p>

<p class=MsoNormal><o:p> </o:p></p>

<p class=MsoNormal><o:p> </o:p></p>

<p class=MsoNormal>Robert.<o:p></o:p></p>

<p class=MsoNormal><o:p> </o:p></p>

</div>

 <BR><BR>__________ Information provenant d'ESET NOD32 Antivirus, version de la base des signatures de virus 6103 (20110507) __________<BR><BR>Le message a été vérifié par ESET NOD32 Antivirus.<BR><BR><A HREF="http://www.eset.com">http://www.eset.com</A><BR> </body>

</html>