Quantcast
Channel: All Forums
Viewing all articles
Browse latest Browse all 27852

RE: RE: Re: Can't connect to Active Directory through SSL from IIS

$
0
0

Hi, I'm running IIS6 on Windows Server 2003 SP2. I have a PHP script that attempts to bind to an AD Server using SSL, port 636:

$ds = ldap_connect("ldaps://myserver:636");

$r = ldap_bind($ds, $user, $pass);

This gives me a "Can't Contact Server" error, however I can run the script successfully using non-secure port 389. Also, I can successfully connect using SSL outside of IIS, e.g. manually running C:\test\ssltest.php from the command prompt is successful.

This leads me to believe this is an IIS/Webserver security problem. How can I give IIS the same permission for contacting the external AD Server as the Windows Server itself?

Thanks,

Mike


Viewing all articles
Browse latest Browse all 27852

Latest Images

Trending Articles



Latest Images

<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>