Received: from malur.postgresql.org ([217.196.149.56]) by arkaria.postgresql.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_CBC_SHA384:256) (Exim 4.89) (envelope-from ) id 1egLfb-0000JF-Ug for pgsql-bugs@arkaria.postgresql.org; Tue, 30 Jan 2018 02:29:12 +0000 Received: from localhost ([127.0.0.1] helo=malur.postgresql.org) by malur.postgresql.org with esmtp (Exim 4.84_2) (envelope-from ) id 1egLfa-0003lC-TO for pgsql-bugs@arkaria.postgresql.org; Tue, 30 Jan 2018 02:29:10 +0000 Received: from magus.postgresql.org ([2a02:c0:301:0:ffff::29]) by malur.postgresql.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_CBC_SHA384:256) (Exim 4.84_2) (envelope-from ) id 1egLfa-0003l3-Nc for pgsql-bugs@lists.postgresql.org; Tue, 30 Jan 2018 02:29:10 +0000 Received: from mail-wr0-x242.google.com ([2a00:1450:400c:c0c::242]) by magus.postgresql.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_CBC_SHA1:256) (Exim 4.89) (envelope-from ) id 1egLfX-0003ZH-BY for pgsql-bugs@lists.postgresql.org; Tue, 30 Jan 2018 02:29:10 +0000 Received: by mail-wr0-x242.google.com with SMTP id w50so9413679wrc.2 for ; Mon, 29 Jan 2018 18:29:06 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=2ndquadrant-com.20150623.gappssmtp.com; s=20150623; h=subject:to:references:from:message-id:date:user-agent:mime-version :in-reply-to:content-language:content-transfer-encoding; bh=TLiWGm/Bomctq1LSuBgPvrRjN+ZC7jdg0JE054AcnDk=; b=Oy8pCahMn2aR5nNvDjTFkFd3oIkLaOeO4abTmbm8uHWgNVWb4Uso15Dum8mT+XIb09 +NrMTFEh3zqjc67VQUTk7uJUxyeKhuwcKKxxAIKPQBVeXfasFcVW4VKKQKLKgR5NExh9 k72qdd0P/m5YyuW9iXhpvSnS9KyapDsYUYl13q8atFfs+rv4cpaKk4l2UwjBi2dhD6o6 7NOuKAdLkGi/3f9LjJD8ZS5D9Q2QpRTUrN7Ljg8nWH0/tZRwjC3w5wIYa2oEWpxn+6PZ R9+8PapbrdhBPGJ30R9gDuZPtiZZplBQxqzk7de4facoJUPLFTEB02CC76YOeTT5yZoh LInw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:subject:to:references:from:message-id:date :user-agent:mime-version:in-reply-to:content-language :content-transfer-encoding; bh=TLiWGm/Bomctq1LSuBgPvrRjN+ZC7jdg0JE054AcnDk=; b=TRHd6kIn4ZwAgw1TOlEPm7SB+18dWXdihWVnCYEtXeUpETMGfMWL95dsbtSb9ymvcj ECfdST+AQSgazf+T/GCVsipwUl/ctqhLcuFUAyaAkxQ07dvpV5w+LoCHJkHDEHWLyVjG jzYM4NxVp1ZrAeyeLsFYPDbKtkMAZBKHPspxGvtX91D5ficzKCG32jmzHjgESWV9lD2Y qDgA8Xw6G/SEQVuUCuVDSPIfDawz5qR/nftzPhKlNG4FZI26HLpdfwjs8otNhkRt/Eqn 0zeDaADcWDfHnGlmtKoYQZ+m5NN3sN0uhdp3Pl3ui8BgyeiX6j14CHbYTUxxTHjlYYkC qwnA== X-Gm-Message-State: AKwxytf2J8EU7aPC5TeKbARXZaJY//2Eg68G81MGTnymW3tc5hUmMaCm Fxbpz27M7HgJ3208pOR6eWcduA== X-Google-Smtp-Source: AH8x225rvuoIL8PVxdUtadkY5B3eIh5xZc/Hj8iyFf1iLgjJnd/bzgJw598mekn9F7vWYQteLUMpRA== X-Received: by 10.223.185.125 with SMTP id b58mr4264036wrg.196.1517279346130; Mon, 29 Jan 2018 18:29:06 -0800 (PST) Received: from [10.137.2.19] (ip-78-102-97-226.net.upcbroadband.cz. [78.102.97.226]) by smtp.gmail.com with ESMTPSA id d125sm17555874wmc.47.2018.01.29.18.29.05 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Mon, 29 Jan 2018 18:29:05 -0800 (PST) Subject: Re: BUG #15035: scram-sha-256 blocks all logins To: meirav.rath@imperva.com, pgsql-bugs@lists.postgresql.org, PG Bug reporting form References: <151723922191.1238.12656996435976596418@wrigleys.postgresql.org> From: Tomas Vondra Message-ID: <660079bb-b468-f41f-928e-1b3a46e17ae9@2ndquadrant.com> Date: Tue, 30 Jan 2018 03:29:02 +0100 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:52.0) Gecko/20100101 Thunderbird/52.4.0 MIME-Version: 1.0 In-Reply-To: <151723922191.1238.12656996435976596418@wrigleys.postgresql.org> Content-Type: text/plain; charset=utf-8 Content-Language: en-US Content-Transfer-Encoding: 7bit List-Id: List-Help: List-Subscribe: List-Post: List-Owner: List-Archive: Precedence: bulk This is not a bug - at least you haven't explained why the behavior should be considered incorrect. This is a question and so belongs to pgsql-general. Please, post it again to the right list. On 01/29/2018 04:20 PM, PG Bug reporting form wrote: > The following bug has been logged on the website: > > Bug reference: 15035 > Logged by: Meirav Rath > Email address: meirav.rath@imperva.com > PostgreSQL version: 10.0 > Operating system: windows server 2012 R2 > Description: > > Hi, > > I'm trying to set up the new SCRAM-SHA-256 authentication method. The only > problem is that the moment I set this in both postgresql.conf and > pg_hba.conf I can no longer login with any user, and so I can't create new > users with passwords that are compatible. > > Here's what pg_hba.conf looks like: > > ... regards -- Tomas Vondra http://www.2ndQuadrant.com PostgreSQL Development, 24x7 Support, Remote DBA, Training & Services