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

Re: Kerberos, Apache2, mod_auth_kerb, PHP, and PostgreSQL in

From: "Miguel A(dot) Arévalo" <marevalo(at)marevalo(dot)net>
To: pgsql-php(at)postgresql(dot)org
Subject: Re: Kerberos, Apache2, mod_auth_kerb, PHP, and PostgreSQL in
Date: 2004-08-17 21:50:10
Message-ID: cftui0$2662$1@news.hub.org (view raw or flat)
Thread:
Lists: pgsql-adminpgsql-php
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???
> 

In response to

pgsql-admin by date

Next:From: David BearDate: 2004-08-17 23:23:02
Subject: new install starting backend
Previous:From: Oleg BartunovDate: 2004-08-17 21:03:10
Subject: Re: Documents storage

pgsql-php by date

Next:From: Roberto Rezende de AssisDate: 2004-08-20 13:59:49
Subject: Help with Slack
Previous:From: Mark GibsonDate: 2004-08-17 16:02:32
Subject: Re: [PHP] Kerberos, Apache2, mod_auth_kerb, PHP, and PostgreSQL in

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