pg.ddx.io  pgsql-php@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Mark Gibson <gibsonm@cromwell.co.uk>
Cc: pgsql-admin@postgresql.org
Cc: pgsql-php@postgresql.org
Subject: Re: [PHP] Kerberos, Apache2, mod_auth_kerb, PHP, and PostgreSQL in
Date: Tue, 17 Aug 2004 17:02:32 +0100
Message-ID: <d1a43308784f72b0a2bd817275efbc6541222ac6@cromwell.co.uk> (raw)
In-Reply-To: <412229EC.3050203@cromwell.co.uk>
References: <44fffac5903f1d3c69d160878754ce2f41221776@cromwell.co.uk>
	<412229EC.3050203@cromwell.co.uk>

Mark Gibson wrote:
> Mark Gibson wrote:
> 
>> Hi,
>>    I've been trying to Kerberize our Apache and PostgreSQL servers for
>> our company's web applications.
[snip]
> 
> I'VE DONE IT! THE HOLY GRAIL OF WEB/DB APPS! :)
> 
> All it takes it this line your PHP script:
> 
>  putenv("KRB5CCNAME={$_SERVER['KRB5CCNAME']}");
> 
> Then pg_connect works :)

Or, not, as the case may be.
Well, sometimes it connects and sometimes it doesn't,
PostgreSQL logs the following error:

Kerberos recvauth returned error 103

Any ideas???

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



view thread (4+ messages)  latest in thread

Message-ID: <d1a43308784f72b0a2bd817275efbc6541222ac6@cromwell.co.uk>
Permalink:  ../d1a43308784f72b0a2bd817275efbc6541222ac6@cromwell.co.uk/
Also on:    postgresql.org/message-id/d1a43308784f72b0a2bd817275efbc6541222ac6@cromwell.co.uk

 · 

reply

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Reply to all the recipients from your mail client; the link fills in
  the headers below: reply via email
  Some clients, webmail especially, drop In-Reply-To and References from
  a link, and the reply then starts a new thread: use the mbox below.

  To: pgsql-php@postgresql.org
  Cc: gibsonm@cromwell.co.uk, pgsql-admin@postgresql.org
  Subject: Re: [PHP] Kerberos, Apache2, mod_auth_kerb, PHP, and PostgreSQL in
  In-Reply-To: <d1a43308784f72b0a2bd817275efbc6541222ac6@cromwell.co.uk>
  References: <44fffac5903f1d3c69d160878754ce2f41221776@cromwell.co.uk> <412229EC.3050203@cromwell.co.uk> <d1a43308784f72b0a2bd817275efbc6541222ac6@cromwell.co.uk>

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox