Re: Can't start postmaster on -HEAD - Mailing list pgsql-hackers

From Magnus Hagander
Subject Re: Can't start postmaster on -HEAD
Date
Msg-id 4939138D.1060604@hagander.net
Whole thread Raw
In response to Re: Can't start postmaster on -HEAD  (Devrim GÜNDÜZ <devrim@gunduz.org>)
List 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


pgsql-hackers by date:

Previous
From: Tom Lane
Date:
Subject: Re: Mostly Harmless: Welcoming our C++ friends
Next
From: Peter Eisentraut
Date:
Subject: Versioned mo file installation