public inbox for [email protected]
help / color / mirror / Atom feedFrom: Peter Eisentraut <[email protected]>
To: Devrim Gündüz <[email protected]>
To: Stephen Frost <[email protected]>
Cc: Christoph Berg <[email protected]>
Cc: Craig Ringer <[email protected]>
Cc: pgsql-pkg-yum <[email protected]>
Subject: Re: Can we stop defaulting to 'ident'?
Date: Fri, 22 May 2020 11:02:19 +0200
Message-ID: <[email protected]> (raw)
In-Reply-To: <[email protected]>
References: <CAMsr+YFCuBGWh4=aM-K2LCsBEwcrqm=pphKKHEH09vHwXcspow@mail.gmail.com>
<[email protected]>
<[email protected]>
<[email protected]>
<[email protected]>
<[email protected]>
<[email protected]>
<[email protected]>
<[email protected]>
<[email protected]>
<[email protected]>
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
view thread (54+ messages) latest in thread
reply
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Reply to all the recipients using the --to and --cc options:
reply via email
To: [email protected]
Cc: [email protected], [email protected], [email protected], [email protected], [email protected], [email protected]
Subject: Re: Can we stop defaulting to 'ident'?
In-Reply-To: <[email protected]>
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
This inbox is served by agora; see mirroring instructions
for how to clone and mirror all data and code used for this inbox