summaryrefslogtreecommitdiffstats
path: root/auth_ntlm_winbind.conf
diff options
context:
space:
mode:
authorRemi Collet <fedora@famillecollet.com>2012-06-13 18:43:31 +0200
committerRemi Collet <fedora@famillecollet.com>2012-06-13 18:43:31 +0200
commitb894accf5c23cef90974ee9a5686cfb0d7a28c1b (patch)
tree4b8ff3518cc6fdfbf9855f38389518132be3fb72 /auth_ntlm_winbind.conf
reorg repoHEADmaster
Diffstat (limited to 'auth_ntlm_winbind.conf')
-rw-r--r--auth_ntlm_winbind.conf44
1 files changed, 44 insertions, 0 deletions
diff --git a/auth_ntlm_winbind.conf b/auth_ntlm_winbind.conf
new file mode 100644
index 0000000..0dcf182
--- /dev/null
+++ b/auth_ntlm_winbind.conf
@@ -0,0 +1,44 @@
+#
+# mod_auth_ntlm_winbind allows authentication and authorisation over the Web
+# against a Windows NT/AD domain controllers, using Samba on the same
+# machine Apache is running on.
+# It uses "ntlm_auth" helper utility to operate with local winbindd(8) daemon,
+# which are standard parts of the Samba distribution.
+#
+# The same way Squid does NTLM authentication now.
+#
+
+LoadModule auth_ntlm_winbind_module modules/mod_auth_ntlm_winbind.so
+
+#
+# Make sure you have "KeepAlive On" in your Apache configuration,
+# else this module will not work!
+#
+
+#
+# example configuration for this module:
+#
+# <Directory "/var/www/auth">
+# AuthName "NTLM Authentication thingy"
+# NTLMAuth on
+# NTLMAuthHelper "/usr/bin/ntlm_auth --helper-protocol=squid-2.5-ntlmssp"
+# NTLMBasicAuthoritative on
+# AuthType NTLM
+# require valid-user
+# </Directory>
+#
+# to enable 'Negotiate' authentication too:
+#
+# <Directory "/var/www/auth">
+# AuthName "NTLM Authentication thingy"
+# NTLMAuth on
+# NegotiateAuth on
+# NTLMAuthHelper "/usr/bin/ntlm_auth --helper-protocol=squid-2.5-ntlmssp"
+# NegotiateAuthHelper "/usr/bin/ntlm_auth --helper-protocol=gss-spnego"
+# NTLMBasicAuthoritative on
+# AuthType NTLM
+# AuthType Negotiate
+# require valid-user
+# </Directory>
+#
+