cURL / Mailing Lists / curl-library / Single Mail



From: Dan Fandrich <>
Date: Sat, 15 Nov 2014 17:10:49 +0100

On Sat, Nov 15, 2014 at 03:43:09PM +0000, Steve Holme wrote:
> The curl command line tool supports --krb LEVEL and in its usages sets the
> CURLOPT_KRBLEVEL option in libcurl - but only if KRB4 support has been
> detected "if(curlinfo->features & CURL_VERSION_KERBEROS4)" in
> tool_getparam.c:696.
> I have prepared a patch to remove this (see attached), however, from reading
> the libcurl code (security.c) and associated comments it seems more of a
> generic "Kerberos" option. Does anyone know if it is used for Kerberos 5 at
> all?

I don't know the answer to that question, but if someone has a script with
"--krb 5" said script will fail if this patch goes through. You may want to
support the option and just print a warning (even if it does nothing else) if
it's ever used.

>>> Dan
List admin:
Received on 2014-11-15