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

From: Mark Gibson <gibsonm(at)cromwell(dot)co(dot)uk>
To:
Cc: pgsql-admin(at)postgresql(dot)org, pgsql-php(at)postgresql(dot)org
Subject: Re: [PHP] Kerberos, Apache2, mod_auth_kerb, PHP, and PostgreSQL in
Date: 2004-08-17 16:02:32
Message-ID: d1a43308784f72b0a2bd817275efbc6541222ac6@cromwell.co.uk
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-admin pgsql-php

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.

In response to

Responses

Browse pgsql-admin by date

  From Date Subject
Next Message Gaetano Mendola 2004-08-17 17:36:53 Documents storage
Previous Message Mark Gibson 2004-08-17 15:53:16 Re: [PHP] Kerberos, Apache2, mod_auth_kerb, PHP, and PostgreSQL in

Browse pgsql-php by date

  From Date Subject
Next Message Miguel A. Arévalo 2004-08-17 21:50:10 Re: Kerberos, Apache2, mod_auth_kerb, PHP, and PostgreSQL in
Previous Message Mark Gibson 2004-08-17 15:53:16 Re: [PHP] Kerberos, Apache2, mod_auth_kerb, PHP, and PostgreSQL in