with_ntdomain_hack
0 answers - 1305 bytes -

Try this ntlm_auth string (Watch for page breaks in email)
ntlm_auth = "/usr/bin/ntlm_auth
%{mschap:User-Name} %{mschap:Challeng
e} %{mschap:NT-Response}
Message
From:
@lists.freeradius.or
g
[@lists.freer
adius.org] Behalf Chris Liles
Sent: Wednesday, May 10, 2006 3:51 PM
To: FreeRadius users mailing list
Subject: RE: with_ntdomain_hack
You are right, it was that I was lowercasing the username
before authentication
After I turned that off, I am getting further, it still
doesn't work and I believe it is because of a problem with
"Stripped-User-Name" and ntlm_auth
ntlm_auth is getting called with the entire username
"DMAIN\user" and not "user" I don't understand why, as in
the config file it says:
%{Stripped-User-Name:-%{User-Name:-None}}
I didn't edit that part of the ntlm_auth line, just corrected
the path
I know this is a problem because when I use ntlm_auth from
the command line I can't use \user I have to
use
I hacked up the line to just say %{Stripped-User-Name} but
that value must be null or something, because then ntlm_auth
gets called with ""
Any thoughts as to why I can't get the DMAIN\ stripped when
calling ntlm_auth
Thanks!