summaryrefslogtreecommitdiffstats
path: root/auth_ntlm_winbind.conf
blob: 0dcf1826d39d698e9ee6aa3a0ddf39b1256a0028 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
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>
#