none
The LDAP server is unavailable after installing KB2868725 RRS feed

  • Question

  • After installing the KB2868725 Windows Update, a strange LDAPs connection problem occur. 

    Context : we have a C# web site (.NET 4.0) that perform an LDAPs Bind operation over LDAPs. The web server is not on the same domain (bind operations are perform again multiple LDAPs Server), and the code work like a charm more than a year.

    So after installing the KB2868725 Windows Update we get a “System.DirectoryServices.Protocols.LdapException: The LDAP server is unavailable.” exception from the same application. When we uninstall the update, the error stop.

    The problem is present ONLY over a SECURE connection.


    ----
    We have multiple web server in production and every server where the KB2868725 Windows Update is not installed are working perfectly. 

    We build a test application with this simple code, work fine on “non-KB2868725 updated server”:
    void BindLDAP()
    {
    	LdapDirectoryIdentifier ldi = new LdapDirectoryIdentifier("example.com", 636, true, false);
    	LdapConnection ldapCnn = new LdapConnection(ldi, new NetworkCredential("myUsername", "myPassword"), AuthType.Basic);
    	ldapCnn.SessionOptions.VerifyServerCertificate = new VerifyServerCertificateCallback(Validate);
    	ldapCnn.Bind();
    }
    private static bool Validate(LdapConnection connection, X509Certificate certificate) { return true; }




    Stack trace:
    System.DirectoryServices.Protocols.LdapException: The LDAP server is unavailable.
       at System.DirectoryServices.Protocols.LdapConnection.Connect()
       at System.DirectoryServices.Protocols.LdapConnection.BindHelper(NetworkCredential newCredential, Boolean needSetCredential)


    Server: Windows Server 2008 R2 Standard, Service Pack 1 (64-bit)


    ---
    We tried to change every connections settings, change .NET version (2.0, 3.5 and 4.0), build the test application directly on the server and nothing work.

    If we use others LDAP tool (like http://technet.microsoft.com/en-us/sysinternals/bb963907.aspx) the problem also occur : “The server is not operational.”

    Moreover, if we installed these updates the problem also occur: KB2574819, KB2830477, KB2871997, KB2592687.


    ---
    We can’t install any Windows Updates, that’s a problem. We would like to find a solution, please help us ;-)

    Philippe Bernier

    Friday, June 13, 2014 8:10 PM

Answers

  • Hi Philippe,

    From your discription, I don't think this is the right place to ask this question. This forum is helping you on development issues with .net classes.

    As you mentioned "If we use others LDAP tool (like http://technet.microsoft.com/en-us/sysinternals/bb963907.aspx) the problem also occur : 'The server is not operational.' ", please post this on Technet Platform Networking forum.

    Thanks for your understanding.


    <THE CONTENT IS PROVIDED "AS IS" WITHOUT WARRANTY OF ANY KIND, WHETHER EXPRESS OR IMPLIED>
    Thanks
    Alan Yao
    MSDN Community Support

    Please remember to "Mark as Answer" the responses that resolved your issue. It is a common way to recognize those who have helped you, and makes it easier for other visitors to find the resolution later.

    Monday, June 16, 2014 6:52 AM

All replies

  • Hi Philippe,

    I am trying to involve someone familiar with this issue to come into this thread. Thank you for your understanding.

    Regards,


    We are trying to better understand customer views on social support experience, so your participation in this interview project would be greatly appreciated if you have time. Thanks for helping make community forums a great place.
    Click HERE to participate the survey.

    Monday, June 16, 2014 3:24 AM
    Moderator
  • Hi Philippe,

    From your discription, I don't think this is the right place to ask this question. This forum is helping you on development issues with .net classes.

    As you mentioned "If we use others LDAP tool (like http://technet.microsoft.com/en-us/sysinternals/bb963907.aspx) the problem also occur : 'The server is not operational.' ", please post this on Technet Platform Networking forum.

    Thanks for your understanding.


    <THE CONTENT IS PROVIDED "AS IS" WITHOUT WARRANTY OF ANY KIND, WHETHER EXPRESS OR IMPLIED>
    Thanks
    Alan Yao
    MSDN Community Support

    Please remember to "Mark as Answer" the responses that resolved your issue. It is a common way to recognize those who have helped you, and makes it easier for other visitors to find the resolution later.

    Monday, June 16, 2014 6:52 AM
  • Ok,

    I posted my question here: http://social.technet.microsoft.com/Forums/en-US/990620d4-92af-4ac7-99a7-c03fb6649f6c/the-ldap-server-is-unavailable-after-installing-kb2868725?forum=winservergen

    Thank you


    Philippe Bernier

    Monday, June 16, 2014 1:09 PM