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.