Re: [HACKERS] Krb5 & multiple DB connections

From: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
To: Stephen Frost <sfrost(at)snowman(dot)net>
Cc: pgsql-patches(at)postgresql(dot)org
Subject: Re: [HACKERS] Krb5 & multiple DB connections
Date: 2006-02-09 18:39:57
Message-ID: 3363.1139510397@sss.pgh.pa.us
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-hackers pgsql-patches

Stephen Frost <sfrost(at)snowman(dot)net> writes:
> The specific problem which I and the original reporter ran into is this:

> KRB5CCACHE=/tmp/krb5cc_apache_aev0kF
> pg_connect() -- works fine
> pg_close() -- works fine
> rm /tmp/krb5cc_apache_aev0kF
> KRB5CCACHE=/tmp/krb5cc_apache_cVMRtA
> pg_connect() -- Doesn't work, Kerberos error is "no credentials cache"

And why exactly is the application trying to munge the cache like that?
(I assume there is some state change you're not bothering to mention,
or there would be no need for a new cache, no?)

It sure seems like somebody is solving the wrong problem, and doing it
with a sledgehammer...

regards, tom lane

In response to

Responses

Browse pgsql-hackers by date

  From Date Subject
Next Message Jim C. Nasby 2006-02-09 18:52:23 Re: Feature request - Add microsecond as a time unit for interval
Previous Message Mark Woodward 2006-02-09 18:28:25 Re: PostgreSQL 8.0.6 crash

Browse pgsql-patches by date

  From Date Subject
Next Message Stephen Frost 2006-02-09 19:08:18 Re: [HACKERS] Krb5 & multiple DB connections
Previous Message Stephen Frost 2006-02-09 18:27:41 Re: [HACKERS] Krb5 & multiple DB connections