<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=utf-8">
<meta name="Generator" content="Microsoft Word 15 (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:12.0pt;
        font-family:"Times New Roman","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.shorttext
        {mso-style-name:short_text;}
span.hps
        {mso-style-name:hps;}
span.EmailStyle19
        {mso-style-type:personal-reply;
        font-family:"Calibri","sans-serif";
        color:#1F497D;}
.MsoChpDefault
        {mso-style-type:export-only;
        font-family:"Calibri","sans-serif";
        mso-fareast-language:EN-US;}
@page WordSection1
        {size:612.0pt 792.0pt;
        margin:72.0pt 72.0pt 72.0pt 72.0pt;}
div.WordSection1
        {page:WordSection1;}
--></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="WordSection1">
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D;mso-fareast-language:EN-US">Here’s your problem:
<o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D;mso-fareast-language:EN-US"><o:p> </o:p></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D;mso-fareast-language:EN-US">        ntlm_auth = "/etc/freeradius/modules/ntlm_auth --request-nt-key --domain=OBLAN --username==%{%{User-Name}:-None}}"<o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D;mso-fareast-language:EN-US"><o:p> </o:p></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D;mso-fareast-language:EN-US">You have to set ntlm_auth to the path of the ntlm_auth binary… not the FreeRADIUS module.
<o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D;mso-fareast-language:EN-US"><o:p> </o:p></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D;mso-fareast-language:EN-US">It usually lives in /usr/bin. ‘which ntlm_auth’ usually tells you where.
<o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D;mso-fareast-language:EN-US"><o:p> </o:p></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D;mso-fareast-language:EN-US">Stefan<o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D;mso-fareast-language:EN-US"><o:p> </o:p></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D;mso-fareast-language:EN-US"><o:p> </o:p></span></p>
<p class="MsoNormal"><b><span lang="EN-US" style="font-size:11.0pt;font-family:"Calibri","sans-serif"">From:</span></b><span lang="EN-US" style="font-size:11.0pt;font-family:"Calibri","sans-serif""> freeradius-users-bounces+stefan.paetow=ja.net@lists.freeradius.org
 [mailto:freeradius-users-bounces+stefan.paetow=ja.net@lists.freeradius.org] <b>On Behalf Of
</b>nfischer@hush.com<br>
<b>Sent:</b> 13 August 2014 09:59<br>
<b>To:</b> freeradius-users@lists.freeradius.org<br>
<b>Subject:</b> freeRADIUS -> AD Auth (<100kb)<o:p></o:p></span></p>
<p class="MsoNormal"><o:p> </o:p></p>
<p class="MsoNormal"><span style="font-size:10.0pt;font-family:"Arial","sans-serif"">Hi there!<br>
<br>
I have a problem with the auth against an Active Directory.<br>
I would be very thankfull if you could help me.<br>
<br>
Im tring to setup an WiFi Network where the Useres can auth with</span><span class="hps"><span lang="EN" style="font-size:10.0pt;font-family:"Arial","sans-serif""> their AD Useraccs,</span></span><span lang="EN" style="font-size:10.0pt;font-family:"Arial","sans-serif""><br>
</span><span style="font-size:10.0pt;font-family:"Arial","sans-serif""><br>
Setup:<br>
WiFi-Router with DD-WRT<br>
Ubuntu 10.04LTS with FreeRADIUS kerberus samba etc.<br>
AD at a Windows Server 2008 SBS (Total mess never install it!)<br>
<br>
The communicatuion W-Lan Client->Router->FreeRADIUS runs.<br>
The Ubuntu Server is in the Domain, wbinfo -u gives me all Users.<br>
The auth via NTLM_AUTH runns too:<br>
/etc/freeradius$ ntlm_auth --request-nt-key --domain=DOMAINNAME --username=USERNAME<br>
Password:<br>
NT_STATUS_OK: Success (0x0)<br>
<br>
I think just FreeRADIUS is configured wrong.<br>
The auth fails, </span><span class="hps"><span lang="EN" style="font-size:10.0pt;font-family:"Arial","sans-serif"">respectively does not take place.</span></span><span lang="EN" style="font-size:10.0pt;font-family:"Arial","sans-serif""><br>
<br>
<span class="hps">I put the config files and the freeradius -X output in the attachment.</span><br>
<span class="hps">(I removed a few unimportant configfiles to not hit the 100kb limit of this mailinglist.)</span><br>
</span><span style="font-size:10.0pt;font-family:"Arial","sans-serif""><br>
</span><span class="hps"><span lang="EN" style="font-size:10.0pt;font-family:"Arial","sans-serif"">Many thanks in advance!</span></span><span lang="EN" style="font-size:10.0pt;font-family:"Arial","sans-serif""><br>
<br>
</span><span style="font-size:10.0pt;font-family:"Arial","sans-serif"">-- <br>
Mit freundlichem Gruß<br>
Nicolas Fischer<br>
<br>
email: <a href="mailto:nfischer@hush.com">nfischer@hush.com</a><br>
jabber: <a href="mailto:jagger@jabber.ccc.de">jagger@jabber.ccc.de</a><br>
tel: 01573-0420888<br>
Skype: jagger64<br>
TOX: Just ask me :)<br>
<br>
PGP-Key:<br>
<a href="http://keyserver.ubuntu.com/pks/lookup?op=vindex&fingerprint=on&search=0xCF5E6AD15A5B6132" target="_blank">http://keyserver.ubuntu.com/pks/lookup?op=vindex&fingerprint=on&search=0xCF5E6AD15A5B6132</a><br>
If you sent me a PGP Crypted Mail I´ll be happy and will give you a free cookie :)</span><o:p></o:p></p>
</div>
<PRE>Janet(UK) is a trading name of Jisc Collections and Janet Limited, a 
not-for-profit company which is registered in England under No. 2881024 
and whose Registered Office is at Lumen House, Library Avenue,
Harwell Oxford, Didcot, Oxfordshire. OX11 0SG. VAT No. 614944238
</PRE></body>
</html>