Description
I did this
With the Windows version of curl 7.53.1 the following command returns the expected result:
curl.exe ldap://ldap.forumsys.com/uid=tesla,dc=example,dc=com?cn
DN: uid=tesla,dc=example,dc=com
cn: Nikola Tesla
With the Windows version 7.61.1 it returns an error:
curl.exe ldap://ldap.forumsys.com/uid=tesla,dc=example,dc=com?cn
curl: (38) LDAP local: ldap_simple_bind_s Invalid DN Syntax
I expected the following
I expect the same answer as version 7.53.1. The unix/linux/Mac versions of 7.61.1 return the same answer as the Windows 7.53.1 version.
curl/libcurl versions
curl 7.53.1 (x86_64-pc-win32) libcurl/7.53.1 OpenSSL/1.0.2k zlib/1.2.11 nghttp2/1.19.0
Protocols: dict file ftp ftps gopher http https imap imaps ldap pop3 pop3s rtsp smb smbs smtp smtps telnet tftp
Features: AsynchDNS IPv6 Largefile NTLM SSL libz HTTP2 HTTPS-proxy
curl 7.61.1 (x86_64-pc-win32) libcurl/7.61.1 WinSSL zlib/1.2.11
Release-Date: 2018-09-05
Protocols: dict file ftp ftps gopher http https imap imaps ldap pop3 pop3s rtsp smb smbs smtp smtps telnet tftp
Features: AsynchDNS IPv6 Largefile SSPI Kerberos SPNEGO NTLM SSL libz
operating system
Windows 10 64-bit