This covers configuring Apache web server to handle NTLM authentication against an Active Directory domain controller.
NOTE: This is just a list of what I used to make it work.
emerge dev-perl/Apache2-AuthenNTLM
Add….
PerlAuthenHandler Apache2::AuthenNTLM
AuthType ntlm
AuthName "My Awesome Company"
require valid-user
PerlAddVar ntdomain "DOMAINNAME DOMAINCONTROLLER"
PerlSetVar defaultdomain DOMAINNAME
PerlSetVar ntlmsemtimeout 2
PerlSetVar ntlmdebug 1
PerlSetVar splitdomainprefix 1
To inside the <Directory> tag in /etc/apache2/vhosts.d/default_vhost.include or inside whatever specific virtual host folder you want it for.
And, man.. I like this better then mod_auth_ntlm2 using winbind.