summaryrefslogtreecommitdiffstats
path: root/raddb/mods-available/ntlm_auth
blob: ab0017c9b5bbf2a8d3f06f9913e543643236f59b (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
#
#  For testing ntlm_auth authentication with PAP.
#
#  If you have problems with authentication failing, even when the
#  password is good, it may be a bug in Samba:
#
#	https://bugzilla.samba.org/show_bug.cgi?id=6563
#
#  Depending on the AD / Samba configuration, you may also need to add:
#
#	--allow-mschapv2
#
#  to the list of command-line options.
#
exec ntlm_auth {
	wait = yes
	program = "/path/to/ntlm_auth --request-nt-key --domain=MYDOMAIN --username=%{mschap:User-Name} --password=%{User-Password}"
}