Re: PATCH: Add GSSAPI ccache_name option to libpq

From: Stephen Frost <sfrost(at)snowman(dot)net>
To: Daniel Carter <danielchriscarter+postgres(at)gmail(dot)com>
Cc: PostgreSQL Hackers <pgsql-hackers(at)lists(dot)postgresql(dot)org>
Subject: Re: PATCH: Add GSSAPI ccache_name option to libpq
Date: 2021-04-20 19:01:04
Message-ID: 20210420190103.GM20766@tamriel.snowman.net
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-hackers

Greetings,

* Daniel Carter (danielchriscarter+postgres(at)gmail(dot)com) wrote:
> This is a small patch (against master) to allow an application using libpq
> with GSSAPI authentication to specify where to fetch the credential cache
> from -- it effectively consists of a new field in PQconninfoOptions to store
> this data and (where the user has specified a ccache location) a call into
> the gss_krb5_ccache_name function in the GSSAPI library.

I'm not necessarily against this, but typically the GSSAPI library
provides a way for you to control this using, eg, the KRB5_CCACHE
environment variable. Is there some reason why that couldn't be used..?

Thanks,

Stephen

In response to

Responses

Browse pgsql-hackers by date

  From Date Subject
Next Message Stephen Frost 2021-04-20 19:04:59 Re: when the startup process doesn't
Previous Message Tom Lane 2021-04-20 18:56:58 Re: when the startup process doesn't