locked
ASP.Net : Impossible to connect to LDAP server RRS feed

  • Question

  • User-919141344 posted

    Hello there,

    I have followed Microsoft's HowTo to create a LDAP authentification for an ASP.NET program. http://msdn.microsoft.com/en-us/library/ms998360.aspx

    I've followed the whole thing but I have this error :

    Message d'erreur de l'analyseur: Impossible d'établir une connexion sécurisée au serveur

    Erreur source:

    Ligne 51 :         <add
    Ligne 52 : name="MyADMembershipProvider"
    Ligne 53 : type="System.Web.Security.ActiveDirectoryMembershipProvider, System.Web, Version=2.0.0.0,
    Ligne 54 : Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a"
    Ligne 55 : connectionStringName="ADConnectionString"

    Sorry it's in French. It means : impossible to establish a secure connection with the server.

    When I connect to the server with Apache Directory Studio, I don't need to chose to connect with a "secure" connection but it works.

    Does anybody know where this comes from ?

    Thank you.

    Friday, July 31, 2009 6:07 AM

Answers

  • User-919141344 posted

    Alright I fixed my problem ! It occured to me that the LDAP of my company is based on OpenLDAP so I had to do something completely different to connect to it.

    • Marked as answer by Anonymous Thursday, October 7, 2021 12:00 AM
    Friday, July 31, 2009 10:33 AM

All replies

  • User-919141344 posted

    Alright I fixed my problem ! It occured to me that the LDAP of my company is based on OpenLDAP so I had to do something completely different to connect to it.

    • Marked as answer by Anonymous Thursday, October 7, 2021 12:00 AM
    Friday, July 31, 2009 10:33 AM
  • User-914720957 posted

    Hi ... i have the same problem to connect my OpenLDAP ... can you post the code you used to connect it please ?

     

    thanks

    Thursday, August 20, 2009 5:41 AM