[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[ale] Freeradius, MSCHAP, and Active Directory
- Subject: [ale] Freeradius, MSCHAP, and Active Directory
- From: james.sumners at gmail.com (James Sumners)
- Date: Thu, 26 Feb 2015 15:17:39 -0500
- In-reply-to: <CAN8XfE93=4yQERBgZ6A_W=YogGM06vGqLpKkY5pjE6bmpnH09w@mail.gmail.com>
- References: <CAAt=rgAXEdweskbLF+EW0Zj88+p078KTpYmuuw4U66-nj7KBBw@mail.gmail.com> <[email protected]> <CAAt=rgC6kp+Df4cfz0J=oRTfScg0WGCDruExxyxdgmBE1oCs1A@mail.gmail.com> <CAN8XfE93=4yQERBgZ6A_W=YogGM06vGqLpKkY5pjE6bmpnH09w@mail.gmail.com>
On Thu, Feb 26, 2015 at 2:47 PM, Edward Holcroft <eholcroft at mkainc.com>
wrote:
> Make sure winbind is running. That held me up for the longest time.
>
> Have you joined the Radius box to the AD domain?
>
> What do you get when you do:
>
> ntlm_auth --request-nt-key --domain=your.domain --username=Administrator
>
> If you do not get NT_STATUS_OK: Success (0x0)
>
> then you need to fix that first.
>
Stated in my original post that is all working.
>
>
> Do you have this entry under the mschap section?
>>>
>>>
>>> with_ntdomain_hack = yes
>>
>>
>> That got deprecated in favor of the "realm ntdomain" config as far as I
>> can tell. So I don't have the hack enabled, but I do have:
>>
>> ```
>> ntlm_auth = "/bin/ntlm_auth --request-nt-key
>> --username=%{%{mschap:User-Name}:-None}
>> --domain=%{%{mschap:NT-Domain}:-None}
>> --challenge=%{%{mschap:Challenge}:-00}
>> --nt-response=%{%{mschap:NT-Response}:-00}"
>>
>
>
> ?Is that just an example that you're quoting, or is that your actual
> config line? My working /etc/freeradius/modules/mschap?
>
> ?contains this:
>
> ntlm_auth = "/usr/bin/ntlm_auth --request-nt-key
> --username=%{%{Stripped-User-Name}:-%{%{User-Name}:-None}}
> --domain=%{mschap:NT-Domain:-MKA.LOCAL}
> --challenge=%{%{mschap:Challenge}:-00}
> --nt-response=%{%{mschap:NT-Response}:-00}"
>
> where MKA.LOCAL is my AD domain.
> ?
> ?I am using the with_ntdomain_hack=yes version of freeRadius, so cannot
> comment on realm ntdomain.?
>
That is my actual config line. It works just fine when a username that
doesn't have the escape sequence for the tab character in it authenticates.
--
James Sumners
http://james.sumners.info/ (technical profile)
http://jrfom.com/ (personal site)
http://haplo.bandcamp.com/ (band page)
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.ale.org/pipermail/ale/attachments/20150226/9d7f61fa/attachment.html>