pg.ddx.io  pgsql-general@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Tom Lane <tgl@sss.pgh.pa.us>
To: Hemil Ruparel <hemilruparel2002@gmail.com>
Cc: Adrian Klaver <adrian.klaver@aklaver.com>
Cc: Zwettler Markus (OIZ) <Markus.Zwettler@zuerich.ch>
Cc: pgsql-generallists.postgresql.org <pgsql-general@lists.postgresql.org>
Cc: Laurenz Albe <laurenz.albe@cybertec.at>
Subject: Re: How to debug authentication issues in Postgres
Date: Fri, 27 Nov 2020 10:36:54 -0500
Message-ID: <704984.1606491414@sss.pgh.pa.us> (raw)
In-Reply-To: <CANW1aT_zrEfYKV0O6b=i55efb+Ct0G+k8uZFNYk7-Q16oW0r7g@mail.gmail.com>
References: <CANW1aT9EGHqcj4Qc4e83fOS4MBNVUpL9vPf6nknBd__DmeBGfA@mail.gmail.com>
	<5a5ca12d399ce798d027575f1271e831a482e9be.camel@cybertec.at>
	<CANW1aT9gd6gEt0bF6YFRoH7khrPNH9p1wzwjksL2SW8uriRmvQ@mail.gmail.com>
	<555b511d7047970c9f940f6da62b91416831a73e.camel@cybertec.at>
	<CANW1aT8gyiuK4bZkMuuGoWLz2LBkw4M_yoivT_+1KDE99-SHsw@mail.gmail.com>
	<CANW1aT-Oj11RQUj62UQxzde6ziUpQjpv3JJgr__F4t48RZ6mMg@mail.gmail.com>
	<1ae4c30f53a14dcba7579844a637a951@zuerich.ch>
	<CANW1aT-LgHx+CnqimFUomNczq5RugHFL2bwVU=gz9eEcz_W_4A@mail.gmail.com>
	<3641f7c1-9d05-039c-9bf4-30ee5e317773@aklaver.com>
	<CANW1aT-S=C6CzdfS1csEw-GvCoPnToh-gFGxhMUO3cDSciP_Bw@mail.gmail.com>
	<CANW1aT_zrEfYKV0O6b=i55efb+Ct0G+k8uZFNYk7-Q16oW0r7g@mail.gmail.com>

Hemil Ruparel <hemilruparel2002@gmail.com> writes:
> When I try to connect to the database, the log says:
>> FATAL:  password authentication failed for user "user"
>> DETAIL:  Connection matched pg_hba.conf line 88: "host    user
> password          0.0.0.0/0               scram-sha-256"

> So I think the client is using scram-sha-256

No, what that says is that the server is going to insist on scram-sha-256.
If the client can't handle SCRAM, then a failure would be expected.

			regards, tom lane





view thread (27+ messages)  latest in thread

Message-ID: <704984.1606491414@sss.pgh.pa.us>
Permalink:  ../704984.1606491414@sss.pgh.pa.us/
Also on:    postgresql.org/message-id/704984.1606491414@sss.pgh.pa.us

 · 

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 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-general@postgresql.org
  Cc: tgl@sss.pgh.pa.us, hemilruparel2002@gmail.com, adrian.klaver@aklaver.com, Markus.Zwettler@zuerich.ch, laurenz.albe@cybertec.at
  Subject: Re: How to debug authentication issues in Postgres
  In-Reply-To: <704984.1606491414@sss.pgh.pa.us>
  References: <CANW1aT9EGHqcj4Qc4e83fOS4MBNVUpL9vPf6nknBd__DmeBGfA@mail.gmail.com> <5a5ca12d399ce798d027575f1271e831a482e9be.camel@cybertec.at> <CANW1aT9gd6gEt0bF6YFRoH7khrPNH9p1wzwjksL2SW8uriRmvQ@mail.gmail.com> <555b511d7047970c9f940f6da62b91416831a73e.camel@cybertec.at> <CANW1aT8gyiuK4bZkMuuGoWLz2LBkw4M_yoivT_+1KDE99-SHsw@mail.gmail.com> <CANW1aT-Oj11RQUj62UQxzde6ziUpQjpv3JJgr__F4t48RZ6mMg@mail.gmail.com> <1ae4c30f53a14dcba7579844a637a951@zuerich.ch> <CANW1aT-LgHx+CnqimFUomNczq5RugHFL2bwVU=gz9eEcz_W_4A@mail.gmail.com> <3641f7c1-9d05-039c-9bf4-30ee5e317773@aklaver.com> <CANW1aT-S=C6CzdfS1csEw-GvCoPnToh-gFGxhMUO3cDSciP_Bw@mail.gmail.com> <CANW1aT_zrEfYKV0O6b=i55efb+Ct0G+k8uZFNYk7-Q16oW0r7g@mail.gmail.com> <704984.1606491414@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