User talk:Jbilyk: Difference between revisions
(Added NTLM single sign-on under Apache) |
m (formatting) |
||
Line 2: | Line 2: | ||
|<div style="font-size: 1.5em; font-weight:bold;"> [[Image:Underconstruction_clock_icon_gray.svg|64px|left|link=]] This page is a work in progress ... </div><p style="text-align: center; font-size: 87%;">This page is still being developed.</p> | |<div style="font-size: 1.5em; font-weight:bold;"> [[Image:Underconstruction_clock_icon_gray.svg|64px|left|link=]] This page is a work in progress ... </div><p style="text-align: center; font-size: 87%;">This page is still being developed.</p> | ||
|} | |} | ||
NTLM single sign on under Apache | NTLM single sign on under Apache<br /> | ||
Prereqs: | Prereqs:<br /> | ||
From http://samba.org/ftp/unpacked/lorikeet/mod_auth_ntlm_winbind/: | From http://samba.org/ftp/unpacked/lorikeet/mod_auth_ntlm_winbind/:<br /> | ||
mod_auth_ntlm_winbind.c | mod_auth_ntlm_winbind.c<br /> | ||
configure.in | configure.in<br /> | ||
Makefile.in | Makefile.in<br /> | ||
----- | -----<br /> | ||
autoconf | autoconf<br /> | ||
alpine-sdk | alpine-sdk<br /> | ||
apache-dev | apache-dev<br /> | ||
apr-util-dev | apr-util-dev<br /> | ||
apr-dev | apr-dev<br /> | ||
samba (joined to a Windows Domain) with winbind running | samba (joined to a Windows Domain) with winbind running<br /> | ||
<br /> | |||
Steps: | Steps:<br /> | ||
working dir is where the above 3 source files are | working dir is where the above 3 source files are<br /> | ||
autoconf | autoconf<br /> | ||
./configure | ./configure<br /> | ||
make | make<br /> | ||
add to httpd.conf (module section): | add to httpd.conf (module section):<br /> | ||
LoadModule auth_ntlm_winbind_module lib/apache2/mod_auth_ntlm_winbind.so | LoadModule auth_ntlm_winbind_module lib/apache2/mod_auth_ntlm_winbind.so<br /> | ||
add to httpd.conf (virtual host): | add to httpd.conf (virtual host):<br /> | ||
AuthType NTLM | AuthType NTLM<br /> | ||
NTLMauth on | NTLMauth on<br /> | ||
NTLMAuthHelper "/usr/bin/ntlm_auth --helper-protocol=squid-2.5-ntlmssp" | NTLMAuthHelper "/usr/bin/ntlm_auth --helper-protocol=squid-2.5-ntlmssp"<br /> | ||
Require user jbilyk | Require user jbilyk<br /> | ||
----- | -----<br /> | ||
Restart apache and test | Restart apache and test<br /> |
Revision as of 10:15, 4 August 2010
This page is a work in progress ... This page is still being developed. |
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