Restored the moonshot VM configuration, retaining the upstream version in comments
[freeradius.git] / raddb / mods-available / ntlm_auth
1 #
2 #  For testing ntlm_auth authentication with PAP.
3 #
4 #  If you have problems with authentication failing, even when the
5 #  password is good, it may be a bug in Samba:
6 #
7 #       https://bugzilla.samba.org/show_bug.cgi?id=6563
8 #
9 exec ntlm_auth {
10         wait = yes
11         # From upstream freeradius:
12         # program = "/path/to/ntlm_auth --request-nt-key --domain=MYDOMAIN --username=%{mschap:User-Name} --password=%{User-Password}"
13
14         # Moonshot VM configuration:
15         program = "/usr/bin/ntlm_auth --request-nt-key --domain=%{Realm} --username=%{%{Stripped-User-Name}:-%{%{User-Name}:-None}} --password=%{User-Password}"
16 }