Skip to content

LDAPS requests to ActiveDirectory server hang until timeout #9580

Description

@Wolfgang29

LDAPS requests to ActiveDirectory server hang until timeout
This seems only affect ActiveDirectory, LDAPS requests to OpenLDAP server works fine.

operating system: Windows 10, Windows Server 2016
Different Active Directory Server versions, all using AD mode "Win2012 R2"

libcurl version 7.85.0 (same befaviour with 7.84.0)

libcurl compiled on Windows 10 with VisualStudio 17.
Using: OpenSSL 1.1.1q, OpenLDAP 2.4.48

curl/7.85.0 libcurl/7.85.0 OpenSSL/1.1.1q libssh2/1.8.0 OpenLDAP/2.4.48

With the previous used libcurl version 7.69.1 all LDAPS requests works fine. (build with the same OpenSSL and OpenLDAP version)

Example of a used LDAPS request:

ldaps://ipaddress/dc=value1,dc=value2,dc=value2??sub?(&(objectClass=)(sAMAccountName=))

It seems, that the requestet data where received and then the end of the data transfer is not recognized. It hangs until timeout:

My result of the request (timeout 60 seconds):
Operation timed out after 60006 milliseconds with 632348 bytes received

The same request without ssl are successful in a few seconds.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions