Here is a copy of an email I sent to someone about this (ironically from these very forums, but back when the old board was in use, not vBulletin)
+++++++++++Email Start++++++++++++
does a little dance
I got it to work this afternoon!
you need to have ntlm setup and installed.. I recommend the patched version from http://shh.thathost.com/patches/ and that you change the source as mentioned in http://sourceforge.net/forum/message.php?msg_id=198584
it was pretty easy to compile, just check the location of apachectl and stuff in the source (I had non standard install locations)
then I set up apache to let me use .htaccess on the root dir and I put in it;
####
AuthType NTLM
NTLMAuth on
NTLMAuthoritative on
NTLMDomain DOMAINNAME
NTLMServer PDC1
NTLMBackup BDC1
AuthName ByPassword
<Files ~ "[/]*.html$">
SetHandler blabla
require valid-user
</Files>
<Files "*">
require valid-user
</Files>
####
then last but not least, I used a php file to test my theory;
<?php
echo "<p>Hello, your username is $REMOTE_USER.</p>";
?>
you can use tcpdump to check if your box is going to your pdc/bdc for the username, I used "tcpdump port netbios-ssn" and every time I tried to access the page, a request would go through to to the pdc
after all this, I went to a couple different machines and loaded up the webpage, it told me I was a different user each time! (woo). Tried on a non authenticated machine and would not let me onto the network.
so there ya go. I hope this works for you as well as it did for me, and to think I was this close to saying "bugger it, I'll run iis"
-Pete Goldsmith
+++++++++++Email End++++++++++++