Take the 2-minute tour ×
Super User is a question and answer site for computer enthusiasts and power users. It's 100% free, no registration required.

I have a PHP site running in IIS and I want to auth my users against my corporate Domain Controller. Running phpinfo() shows my install is using OpenLDAP version 20319. I can auth just fine when I go to the domain controller over ldap://, but if I try ldaps://, it fails.

I read somewhere something about an ldap.conf file, but can't find that on my server. I believe that I need to set up a certificate somewhere and tell php to use that certificate somehow, but I need some help with the details.

share|improve this question

migrated from stackoverflow.com Apr 30 '13 at 2:34

This question came from our site for professional and enthusiast programmers.

1 Answer 1

I think I may have found the answer in this extremely useful post: http://www.ashleyknowles.net/2011/07/iis-php-and-ldaps-with-active-directory/

share|improve this answer

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.