Authenticate web page using domain credentials

view full story

http://www.linuxquestions.org – Hi I have some important cgi files run on top of Apache inside cgi-bin directory.My requirement is to once user try to access the cgi file authenticate using Active Directory username/password. if user enter the correct domain credentials only user aloow access to the page in any time user trying to access otherwise not I configured this using htaccess and htpasswd.But in this case I need to manually configure username/password for htpasswd file. Instead of this I want to authenticate with the Active Directory please give me a way to achieve this. tnx (HowTos)