Skip to content

Commit

Permalink
Update raddb/mods-available/ntlm_auth
Browse files Browse the repository at this point in the history
  • Loading branch information
jpereira committed Feb 6, 2019
1 parent c5bd122 commit 76290cd
Showing 1 changed file with 18 additions and 3 deletions.
21 changes: 18 additions & 3 deletions raddb/mods-available/ntlm_auth
@@ -1,17 +1,32 @@
# -*- text -*-
#
# For testing ntlm_auth authentication with PAP.
# :toc:
#
# $Id$

#######################################################################
#
# = NTLM Auth Module
#
# 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
# https://bugzilla.samba.org/show_bug.cgi?id=6563
#
# Depending on the AD / Samba configuration, you may also need to add:
#
# --allow-mschapv2
# --allow-mschapv2
#
# to the list of command-line options.
#

#
# ## Default instance
#
# See the `exec` module for common configuration explanation.
#
exec ntlm_auth {
wait = yes
program = "/path/to/ntlm_auth --request-nt-key --domain=MYDOMAIN --username=%{mschap:User-Name} --password=%{User-Password}"
Expand Down

0 comments on commit 76290cd

Please sign in to comment.