RE: BUG #15035: scram-sha-256 blocks all logins

Поиск
Список
Период
Сортировка
От Meirav Rath
Тема RE: BUG #15035: scram-sha-256 blocks all logins
Дата
Msg-id DM2PR0601MB09562F1FE04E9176992E0080E4E40@DM2PR0601MB0956.namprd06.prod.outlook.com
обсуждение исходный текст
Ответ на Re: BUG #15035: scram-sha-256 blocks all logins  ("David G. Johnston" <david.g.johnston@gmail.com>)
Ответы Re: BUG #15035: scram-sha-256 blocks all logins  ("David G. Johnston" <david.g.johnston@gmail.com>)
Список pgsql-bugs

If what you’re trying to say is “switch the order of the two lines in the file” then that is a very, very obscure way of doing it.

 

That works

 

From: David G. Johnston [mailto:david.g.johnston@gmail.com]
Sent: Tuesday, January 30, 2018 16:04
To: Meirav Rath <meirav.rath@imperva.com>
Cc: Daniel Gustafsson <daniel@yesql.se>; Tomas Vondra <tomas.vondra@2ndquadrant.com>; pgsql-bugs@lists.postgresql.org
Subject: Re: BUG #15035: scram-sha-256 blocks all logins

 

On Tuesday, January 30, 2018, Meirav Rath <meirav.rath@imperva.com> wrote:

Yes, I was following a previous bug I found on your site  - pg_hba_file_rules: "scram-sha256" instead of "scram-sha-256".

So I fixed it, now pg_hba.conf looks like this:

hostallall0.0.0.0/0scram-sha-256
hostallpostgres0.0.0.0/0trust

 

From the docs:

 

 Since the pg_hba.conf records are examined sequentially for each connection attempt, the order of the records is significant. Typically, earlier records will have tight connection match parameters and weaker authentication methods, while later records will have looser match parameters and stronger authentication methods.

 

David J.

-------------------------------------------
NOTICE:
This email and all attachments are confidential, may be proprietary, and may be privileged or otherwise protected from disclosure. They are intended solely for the individual or entity to whom the email is addressed. However, mistakes sometimes happen in addressing emails. If you believe that you are not an intended recipient, please stop reading immediately. Do not copy, forward, or rely on the contents in any way. Notify the sender and/or Imperva, Inc. by telephone at +1 (650) 832-6006 and then delete or destroy any copy of this email and its attachments. The sender reserves and asserts all rights to confidentiality, as well as any privileges that may apply. Any disclosure, copying, distribution or action taken or omitted to be taken by an unintended recipient in reliance on this message is prohibited and may be unlawful.
Please consider the environment before printing this email.

В списке pgsql-bugs по дате отправления:

Предыдущее
От: "David G. Johnston"
Дата:
Сообщение: Re: BUG #15035: scram-sha-256 blocks all logins
Следующее
От: "David G. Johnston"
Дата:
Сообщение: Re: BUG #15035: scram-sha-256 blocks all logins