Chetan Gaonker | 7f4bf74 | 2016-05-04 15:56:08 -0700 | [diff] [blame] | 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 | program = "/path/to/ntlm_auth --request-nt-key --domain=MYDOMAIN --username=%{mschap:User-Name} --password=%{User-Password}" | ||||
12 | } |