[Was: Problem with rlm_mschap from CVS] rlm_mschap: Unknown expansion string

Michael Griego mgriego at utdallas.edu
Tue Nov 15 16:38:44 CET 2005


Luca Corti wrote:
> Here is my ntlm_auth configuration:
>
> ntlm_auth = "/usr/bin/ntlm_auth --request-nt-key
> --username={Stripped-User-Name:-%{User-Name:-None}}
> --challenge={mschap:Challenge:-00}
> --nt-response={mschap:NT-Response:-00}

IIRC, with the changes to the xlat stuff a while back for module xlats, 
if you want to keep the :- no-match stuff, you need to make it look like 
%{{mschap:challenge}:-00}.  I think that's what we decided on.  Anyway, 
I'm not using this in my config... my ntlm_auth line looks like:

ntlm_auth = "/usr/bin/ntlm_auth --request-nt-key 
--username=%{mschap:User-Name} --challenge=%{mschap:Challenge} 
--nt-response=%{mschap:NT-Response} --domain=%{mschap:NT-Domain}"

--Mike



More information about the Freeradius-Users mailing list