25 Jan
2015
25 Jan
'15
5:28 p.m.
On Jan 25, 2015, at 3:56 PM, the2nd <the2nd@otpme.org> wrote:
I already have implemented mschap authentication im OTPme and use it from within the mschap module as a ntlm_auth replacement. But it would be great if i could also handle this in rlm_python.
OK.
If if i could get challenge and response from authData just like its done with username and password i could verify it and return the nt_key on success.
You have the challenge and response. See the ntlm_auth line: =%{%{mschap:Challenge}:-00} --nt-response=%{%{mschap:NT-Response}:-00}” Just put those strings into temporary attributes. update request { Tmp-Octets-0 := "%{mschap:Challenge}” ... } Alan DeKok.