added single sign-on support

This commit is contained in:
SJ
2012-10-17 13:11:08 +02:00
parent 02f1dac543
commit 9ef078c5f4
4 changed files with 121 additions and 0 deletions

View File

@ -14,3 +14,14 @@ RewriteRule ^login.php /index.php?route=login/login [L]
RewriteRule ^logout.php /index.php?route=login/logout [L]
RewriteRule ^google.php /index.php?route=login/google [QSA,L]
<IfModule auth_ntlm_winbind_module>
<FilesMatch "sso\.php$">
AuthName "piler NTLM authentication"
NTLMAuth on
NTLMAuthHelper "/usr/bin/ntlm_auth --helper-protocol=squid-2.5-ntlmssp"
NTLMBasicAuthoritative on
AuthType NTLM
require valid-user
</FilesMatch>
</IfModule>