Apache authentication: NTLM Single Signon: Difference between revisions

From Alpine Linux
(initial page creation)
 
m (Clean up)
Line 1: Line 1:
NTLM single sign on under Apache<br />
NTLM single sign on under Apache<br />
Prereqs:<br />
Prereqs:<br />
From http://samba.org/ftp/unpacked/lorikeet/mod_auth_ntlm_winbind/:<br />
From http://samba.org/ftp/unpacked/lorikeet/mod_auth_ntlm_winbind/, download the following files:<br />
  mod_auth_ntlm_winbind.c<br />
  mod_auth_ntlm_winbind.c<br />
  configure.in<br />
  configure.in<br />
  Makefile.in<br />
  Makefile.in<br />
<br />
<br />
Install needed packages:<br />
  autoconf<br />
  autoconf<br />
  alpine-sdk<br />
  alpine-sdk<br />
Line 11: Line 12:
  apr-util-dev<br />
  apr-util-dev<br />
  apr-dev<br />
  apr-dev<br />
apache<br />
  samba (joined to a Windows Domain) with winbind running<br />
  samba (joined to a Windows Domain) with winbind running<br />
<br />
<br />

Revision as of 09:25, 1 September 2010

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