Skip to content

Instantly share code, notes, and snippets.

@aaranmcguire
Last active December 31, 2015 20:09
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save aaranmcguire/8037831 to your computer and use it in GitHub Desktop.
Save aaranmcguire/8037831 to your computer and use it in GitHub Desktop.
<Directory "/var/www/auth/ldap">
<Files ntlmsso_magic.php>
NTLMAuth on
AuthType NTLM
AuthName "Moodle NTLM Authentication"
NTLMAuthHelper "/usr/bin/ntlm_auth --helper-protocol=squid-2.5-ntlmssp"
NTLMBasicAuthoritative on
require valid-user
</Files>
</Directory>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment