Apache authentication: NTLM Single Signon

From Alpine Linux
Revision as of 09:23, 1 September 2010 by Jbilyk (talk | contribs) (initial page creation)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)

NTLM single sign on under Apache
Prereqs:
From http://samba.org/ftp/unpacked/lorikeet/mod_auth_ntlm_winbind/:

mod_auth_ntlm_winbind.c
configure.in
Makefile.in


autoconf
alpine-sdk
apache-dev
apr-util-dev
apr-dev
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