Using PHP's LDAP support, I was curious if you need to be running under IIS in order to query the local Active Directory. Would you be able to query it if the server is running Apache instead?
Also, could I query an Active Directory setup on another machine than the code is running on, or does it need to be done on that machine?