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