curl / Mailing Lists / curl-users / Single Mail
Buy commercial curl support from WolfSSL. We help you work out your issues, debug your libcurl applications, use the API, port to new platforms, add new features and more. With a team lead by the curl founder himself.

Re: Why did CentOS 8.x curl drop ldap url support?

From: Petr Pisar via curl-users <curl-users_at_lists.haxx.se>
Date: Fri, 1 Apr 2022 18:15:59 +0200

V Thu, Mar 31, 2022 at 11:13:11PM -0500, Jamshid Afshar via curl-users napsal(a):
> I'm hoping someone on curl-users knows why CentOS 8, and probably
> RedHat 8.x, have dropped "ldap" support in their pre-installed curl?
> It now reports:
>
> curl: (1) Protocol "ldap" not supported or disabled in libcurl
>
> Was it a conscious decision, maybe to reduce attack surface, or save a
> few bytes?
>
It was a conscious decision. cURL exists in two variants there:

curl package with all the protocols enabled
curl-minimal package with a limited set of protocols enabled

Ses curl-minimal package description for the motivation
<https://koji.mbox.centos.org/koji/rpminfo?rpmID=377465>.

> % docker run -ti centos:8 bash

That's a container image. A typical use case for curl-minimal. You can verify
which package provides /usr/bin/curl program with "rpm -qf /usr/bin/curl"
command.

If you want switch to the heavy curl use "dnf install curl-full".

-- Petr


-- 
Unsubscribe: https://lists.haxx.se/listinfo/curl-users
Etiquette:   https://curl.haxx.se/mail/etiquette.html
Received on 2022-04-01