Re: Can we stop defaulting to 'ident'?

From: Peter Eisentraut <peter(dot)eisentraut(at)2ndquadrant(dot)com>
To: Devrim Gündüz <devrim(at)gunduz(dot)org>, Stephen Frost <sfrost(at)snowman(dot)net>
Cc: Christoph Berg <myon(at)debian(dot)org>, Craig Ringer <craig(at)2ndquadrant(dot)com>, pgsql-pkg-yum <pgsql-pkg-yum(at)postgresql(dot)org>
Subject: Re: Can we stop defaulting to 'ident'?
Date: 2020-05-22 09:02:19
Message-ID: bceb9264-b959-218e-2533-8861a571c95f@2ndquadrant.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-pkg-debian pgsql-pkg-yum

On 2020-05-22 10:58, Devrim Gündüz wrote:
> On Fri, 2020-05-22 at 10:52 +0200, Peter Eisentraut wrote:
>> I found that if you use initdb's -A option to set the default
>> authentication method, then the passsword_encryption setting is
>> automatically adjusted in postgresql.conf. So this patch probably
>> isn't even necessary.
>
> Right, but then it also sets scram auth for local connections as well
> (which we don't want)
>
> That's why I am using --auth-local and --auth-host at the same time.

It will also work if you set only one of --auth-local and --auth-host to
scram-sha-256.

--
Peter Eisentraut http://www.2ndQuadrant.com/
PostgreSQL Development, 24x7 Support, Remote DBA, Training & Services

In response to

Responses

Browse pgsql-pkg-debian by date

  From Date Subject
Next Message Devrim Gündüz 2020-05-22 09:06:22 Re: Can we stop defaulting to 'ident'?
Previous Message Devrim Gündüz 2020-05-22 08:58:01 Re: Can we stop defaulting to 'ident'?

Browse pgsql-pkg-yum by date

  From Date Subject
Next Message Devrim Gündüz 2020-05-22 09:06:22 Re: Can we stop defaulting to 'ident'?
Previous Message Devrim Gündüz 2020-05-22 08:58:01 Re: Can we stop defaulting to 'ident'?