Added sample ntlm_auth module
authorAlan T. DeKok <aland@freeradius.org>
Sun, 6 Dec 2009 16:02:08 +0000 (17:02 +0100)
committerAlan T. DeKok <aland@freeradius.org>
Sun, 6 Dec 2009 16:02:08 +0000 (17:02 +0100)
raddb/modules/ntlm_auth [new file with mode: 0644]

diff --git a/raddb/modules/ntlm_auth b/raddb/modules/ntlm_auth
new file mode 100644 (file)
index 0000000..9ee11aa
--- /dev/null
@@ -0,0 +1,12 @@
+#
+#  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
+#
+exec ntlm_auth {
+       wait = yes
+       program = "/path/to/ntlm_auth --request-nt-key --domain=MYDOMAIN --username=%{mschap:User-Name} --password=%{User-Password}"
+}