From: Tom Lane <tgl@sss.pgh.pa.us>
To: Meirav Rath <meirav.rath@imperva.com>
Cc: Tomas Vondra <tomas.vondra@2ndquadrant.com>
Cc: pgsql-bugs@lists.postgresql.org <pgsql-bugs@lists.postgresql.org>
Subject: Re: BUG #15035: scram-sha-256 blocks all logins
Date: Mon, 29 Jan 2018 23:40:53 -0500
Message-ID: <29276.1517287253@sss.pgh.pa.us> (raw)
In-Reply-To: <DM2PR0601MB09561C86B3F67A7B56A38938E4E40@DM2PR0601MB0956.namprd06.prod.outlook.com>
References: <151723922191.1238.12656996435976596418@wrigleys.postgresql.org>
<660079bb-b468-f41f-928e-1b3a46e17ae9@2ndquadrant.com>
<DM2PR0601MB09561C86B3F67A7B56A38938E4E40@DM2PR0601MB0956.namprd06.prod.outlook.com>
Meirav Rath <meirav.rath@imperva.com> writes:
> I set up the password hashing method to scram and now no one can login to the server and that's not a bug??
You told it to lock out md5 passwords, and it did.
Try changing the passwords to scram type *first*. Note where it
says in the fine manual:
To ease transition from the md5 method to the newer SCRAM method, if
md5 is specified as a method in pg_hba.conf but the user's password on
the server is encrypted for SCRAM (see below), then SCRAM-based
authentication will automatically be chosen instead.
regards, tom lane
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 from your mail client; the link fills in
the headers below: reply via email
Some clients, webmail especially, drop In-Reply-To and References from
a link, and the reply then starts a new thread: use the mbox below.
To: pgsql-bugs@postgresql.org
Cc: tgl@sss.pgh.pa.us, meirav.rath@imperva.com, tomas.vondra@2ndquadrant.com
Subject: Re: BUG #15035: scram-sha-256 blocks all logins
In-Reply-To: <29276.1517287253@sss.pgh.pa.us>
References: <151723922191.1238.12656996435976596418@wrigleys.postgresql.org> <660079bb-b468-f41f-928e-1b3a46e17ae9@2ndquadrant.com> <DM2PR0601MB09561C86B3F67A7B56A38938E4E40@DM2PR0601MB0956.namprd06.prod.outlook.com> <29276.1517287253@sss.pgh.pa.us>
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox