I am attempting to set up Apache2 to replace IIS6. one of the bigger features of IIS which is preventing the migration is domain authentication for web pages.
the Linux machine is running Debian 3.1 Release 3. all packages are installed via apt so far.
i have read alot of articles about configuring the virtual host with the below details.
# HTML documents, with indexing.
Options ALL ExecCGI +Includes
Allow from all
AuthName "Test IT LDAP"
#private to IT Dept
AuthName "Special User Area"
require group OU=ITStaff,OU=StaffAccounts,DC=domain,DC=com
# CGI Handling
ScriptAlias /cgi-bin/ /home/hosting/ldap.domain.com/cgi/
CustomLog /home/hosting/ldap.domain.com/logs/access.log combined
i dont know how to properly test it but what i am trying to achive for this test is to only grant access to the ITStaff group to the private folder. the error i get from /home/hosting/ldap.domain.com/logs/error.log is as follows.
[Thu Oct 12 20:35:39 2006] [warn] [client 192.168.4.13]  auth_ldap authenticate: user ldapviewer authentication failed; URI /private [LDAP: ldap_simple_
bind_s() failed][Invalid credentials]
[Thu Oct 12 20:31:53 2006] [warn] [client 192.168.4.13]  auth_ldap authenticate: user server authentication failed; URI /private [LDAP: ldap_simple_bind
_s() failed][Invalid credentials]
above are the attempts i tried. one being an account in the ITStaff OU and the other being the ldapviewer account which i created to be able to read AD. i read that a basic restricted account is required to read AD in order to run queries.
as far as i'm aware the mod_ldap module is loaded but i'm not 100% sure.
i've read on LQ that there are a few people that have already done this. however I have been unable to complete the task though those forums.
any advice would be greatly appreciated.