Apache authentication: NTLM Single Signon: Difference between revisions
m (Clean up) |
(Updated since this has been packaged) |
||
Line 1: | Line 1: | ||
NTLM single sign on under Apache<br /> | NTLM single sign on under Apache<br /> | ||
Install needed packages (you will need both the main and testing repositories from edge):<br /> | |||
apache2<br /> | |||
apache-mod-auth-ntlm-winbind<br /> | |||
Install needed packages:<br /> | |||
apache- | |||
samba (joined to a Windows Domain) with winbind running<br /> | samba (joined to a Windows Domain) with winbind running<br /> | ||
<br /> | <br /> | ||
add to httpd.conf (virtual host):<br /> | add to httpd.conf (virtual host):<br /> | ||
AuthType NTLM<br /> | AuthType NTLM<br /> | ||
Line 27: | Line 10: | ||
NTLMAuthHelper "/usr/bin/ntlm_auth --helper-protocol=squid-2.5-ntlmssp"<br /> | NTLMAuthHelper "/usr/bin/ntlm_auth --helper-protocol=squid-2.5-ntlmssp"<br /> | ||
Require user jbilyk<br /> | Require user jbilyk<br /> | ||
Don't forget to customize the final line with the username(s) that you wish to limit usage to. Alternatively, make the final line "Require valid user" and change the helper line to inlude something like "-require-membership-of="WORKGROUP\Domain Users"".<br /> | |||
Restart apache and test<br /> | Restart apache and test<br /> |
Revision as of 21:30, 20 October 2010
NTLM single sign on under Apache
Install needed packages (you will need both the main and testing repositories from edge):
apache2
apache-mod-auth-ntlm-winbind
samba (joined to a Windows Domain) with winbind running
add to httpd.conf (virtual host):
AuthType NTLM
NTLMauth on
NTLMAuthHelper "/usr/bin/ntlm_auth --helper-protocol=squid-2.5-ntlmssp"
Require user jbilyk
Don't forget to customize the final line with the username(s) that you wish to limit usage to. Alternatively, make the final line "Require valid user" and change the helper line to inlude something like "-require-membership-of="WORKGROUP\Domain Users"".
Restart apache and test