Apache authentication: NTLM Single Signon
NTLM single sign on under Apache
Prereqs:
From http://samba.org/ftp/unpacked/lorikeet/mod_auth_ntlm_winbind/, download the following files:
mod_auth_ntlm_winbind.c
configure.in
Makefile.in
Install needed packages:
autoconf
alpine-sdk
apache-dev
apr-util-dev
apr-dev
apache
samba (joined to a Windows Domain) with winbind running
Steps:
working dir is where the above 3 source files are
autoconf
./configure
make
add to httpd.conf (module section):
LoadModule auth_ntlm_winbind_module lib/apache2/mod_auth_ntlm_winbind.so
add to httpd.conf (virtual host):
AuthType NTLM
NTLMauth on
NTLMAuthHelper "/usr/bin/ntlm_auth --helper-protocol=squid-2.5-ntlmssp"
Require user jbilyk
Restart apache and test