using external script in virtual server config

Alan DeKok aland at deployingradius.com
Sun Jan 25 23:28:28 CET 2015


On Jan 25, 2015, at 3:56 PM, the2nd <the2nd at 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.



More information about the Freeradius-Users mailing list