pg.ddx.io  pgsql-php@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: "Miguel A. Arévalo" <marevalo@marevalo.net>
To: pgsql-php@postgresql.org
Subject: Re: Kerberos, Apache2, mod_auth_kerb, PHP, and PostgreSQL in
Date: Tue, 17 Aug 2004 23:50:10 +0200
Message-ID: <cftui0$2662$1@news.hub.org> (raw)
In-Reply-To: <d1a43308784f72b0a2bd817275efbc6541222ac6@cromwell.co.uk>
References: <44fffac5903f1d3c69d160878754ce2f41221776@cromwell.co.uk>
	<412229EC.3050203@cromwell.co.uk>
	<d1a43308784f72b0a2bd817275efbc6541222ac6@cromwell.co.uk>

AFAIK, redirecting credentials is not supported in mod_auth_krb.

I remember listening something that makes it impossible due to way 
Linux/UNIX works, but don't take this as something more than a rumor.

Regards.

Mark Gibson wrote:
> 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???
> 



view thread (4+ messages)

Message-ID: <cftui0$2662$1@news.hub.org>
Permalink:  ../cftui0$2662$1@news.hub.org/
Also on:    postgresql.org/message-id/cftui0$2662$1@news.hub.org

 · 

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: marevalo@marevalo.net
  Subject: Re: Kerberos, Apache2, mod_auth_kerb, PHP, and PostgreSQL in
  In-Reply-To: <cftui0$2662$1@news.hub.org>
  References: <44fffac5903f1d3c69d160878754ce2f41221776@cromwell.co.uk> <412229EC.3050203@cromwell.co.uk> <d1a43308784f72b0a2bd817275efbc6541222ac6@cromwell.co.uk> <cftui0$2662$1@news.hub.org>

* 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