Skip site navigation (1) Skip section navigation (2)

Re: Forwarding kerberos credentials

From: Mark Gibson <gibsonm(at)cromwell(dot)co(dot)uk>
To:
Cc: pgsql <pgsql-general(at)postgresql(dot)org>
Subject: Re: Forwarding kerberos credentials
Date: 2004-08-20 08:51:20
Message-ID: c7a00dedce043fd56f15a2dca8f07e374125ba58@cromwell.co.uk (view raw or flat)
Thread:
Lists: 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.

In response to

pgsql-general by date

Next:From: Michal HlavacDate: 2004-08-20 08:55:53
Subject: 7.4.5 release
Previous:From: Michal TaborskyDate: 2004-08-20 08:39:42
Subject: Re: How to setup default value "0000-00-00" for "date"

Privacy Policy | About PostgreSQL
Copyright © 1996-2014 The PostgreSQL Global Development Group