title: LDAPS connection with ASP.Net/C#
body: <p>I have a connection string for LDAP protocol</p>
  
  <blockquote>
    <p>ldap://ldap.example.com:636/DC=users,DC=buyers</p>
  </blockquote>
  
  <p>which works fine. </p>
  
  <p>But I need to use a LDAPS connection :</p>
  
  <blockquote>
    <p>ldaps://ldap.example.com/DC=users,DC=buyers</p>
  </blockquote>
  
  <p>which does show up in ldp.exe windows form when I test the connection. </p>
  
  <p>Unfotunately it does not work in the Asp.Net application. I get "Unknown error (0x80005000)". </p>
  
  <p>I am not sure whether LDAPS string is even possible with Asp.Net. I downloaded the source code into <em>LDAPConnection.cs</em> class and was unable to find any valuable information.</p>