Re: [HACKERS] Krb5 & multiple DB connections
| От | Tom Lane |
|---|---|
| Тема | Re: [HACKERS] Krb5 & multiple DB connections |
| Дата | |
| Msg-id | 3363.1139510397@sss.pgh.pa.us обсуждение |
| Ответ на | Re: [HACKERS] Krb5 & multiple DB connections (Stephen Frost <sfrost@snowman.net>) |
| Ответы |
Re: [HACKERS] Krb5 & multiple DB connections
|
| Список | pgsql-patches |
Stephen Frost <sfrost@snowman.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
В списке pgsql-patches по дате отправления: