cURL / Mailing Lists / curl-users / Single Mail

curl-users

Re: kerberos

From: Stephen Ince <since_at_opendemand.com>
Date: Thu, 5 Jun 2008 08:31:33 -0400

Daniel,
    Thanx for the reply. After sifting through some documentation you can
do it within in libcurl but you are basically right.

http://search.cpan.org/src/SHUQUE/Authen-Krb5Password-1.01/kpass.c

    err = krb5_get_in_tkt_with_password(
               context,
               0, NULL, NULL, NULL, password, ccache, &credentials, 0);

Steve
----- Original Message -----
From: "Daniel Stenberg" <daniel_at_haxx.se>
To: "the curl tool" <curl-users_at_cool.haxx.se>
Sent: Thursday, June 05, 2008 7:52 AM
Subject: Re: kerberos

> On Wed, 4 Jun 2008, Stephen Ince wrote:
>
>> I am little confused as to how kerberos works in libcurl.
>>
>> 1) I don't see how username/password is conducted in http_negotiate.c?
>
> I'm far from an expert on this, but that's some kind of kerberos-style
> authentication and I think you need to get a ticket or what not first,
> outside of libcurl and then trigger libcurl's Negotiate use with a
> blank/dummy user name.
>
> --
>
> / daniel.haxx.se
>
Received on 2008-06-05