Re: Can't start postmaster on -HEAD

From: Magnus Hagander <magnus(at)hagander(dot)net>
To: Devrim GÜNDÜZ <devrim(at)gunduz(dot)org>
Cc: Peter Eisentraut <peter_e(at)gmx(dot)net>, pgsql-hackers(at)postgresql(dot)org
Subject: Re: Can't start postmaster on -HEAD
Date: 2008-12-05 11:42:05
Message-ID: 4939138D.1060604@hagander.net
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-hackers

Devrim GÜNDÜZ wrote:
> On Thu, 2008-12-04 at 18:38 +0100, Magnus Hagander wrote:
>> Do the RPM initscript by any chance pass something like '-A "ident
>> sameuser"' to initdb? If so, that's where the fix needs to go. Initdb
>> defaults to "trust"...
>
> Good catch. So, AFAICS running initdb with
>
> -A ident
>
> will do the trick.
>
> BTW, should I worry about thi the krb5 message below?
>
> $ psql -U postgres
> psql: pg_krb5_init: krb5_cc_get_principal: No credentials cache found
> FATAL: Ident authentication failed for user "postgres"

Worry, no.

But it's on my list to look at making it not happen. It happens because
we do kerberos stuff earlier than we know if we're actually going to do
a kerberos connection - which we don't do for any other authentication
methods..

//Magnus

In response to

Browse pgsql-hackers by date

  From Date Subject
Next Message Peter Eisentraut 2008-12-05 11:56:06 Re: Mostly Harmless: Welcoming our C++ friends
Previous Message Gregory Stark 2008-12-05 11:31:05 Re: Mostly Harmless: Welcoming our C++ friends