Re: Forwarding kerberos credentials - Mailing list pgsql-general

From Mark Gibson
Subject Re: Forwarding kerberos credentials
Date
Msg-id c7a00dedce043fd56f15a2dca8f07e374125ba58@cromwell.co.uk
Whole thread Raw
In response to Forwarding kerberos credentials  (Mark Gibson <gibsonm@cromwell.co.uk>)
List pgsql-general
Mark Gibson wrote:
> Hi,
>    I'm having intermittent problems connecting to my PostgreSQL database
> from PHP, using Kerberos credentials forwarded from mod_auth_kerb.
[snip]
> The trouble is that sometimes the connection works,
> and sometimes it doesn't. It's very unpredictable. :(

Oh, I forgot to mention, PostgreSQL logs the following error:

   Kerberos recvauth returned error 103

I've searched kerberos errors to find that code 103 isn't defined!

> Tested on:
> RedHat Enterprise Linux 3 & Gentoo Linux
> Apache 2.0.46 & 2.0.49 (prefork)
> mod_auth_kerb 5.0-rc5 & rc6
> PHP 4.3.8
> PostgreSQL 7.4.3
> MIT KerberosV5 libs 1.3.3 & 1.3.4

...and the KDC is on a Windows 2003 Server
(I have no control over this)

--
Mark Gibson <gibsonm |AT| cromwell |DOT| co |DOT| uk>
Web Developer & Database Admin
Cromwell Tools Ltd.
Leicester, England.

pgsql-general by date:

Previous
From: Michal Taborsky
Date:
Subject: Re: How to setup default value "0000-00-00" for "date"
Next
From: Michal Hlavac
Date:
Subject: 7.4.5 release