Received: from malur.postgresql.org ([217.196.149.56]) by arkaria.postgresql.org with esmtps (TLS1.3:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1oxsQD-00078Z-Vw for pgsql-general@arkaria.postgresql.org; Wed, 23 Nov 2022 16:16:26 +0000 Received: from localhost ([127.0.0.1] helo=malur.postgresql.org) by malur.postgresql.org with esmtp (Exim 4.92) (envelope-from ) id 1oxsQC-0003qn-R7 for pgsql-general@arkaria.postgresql.org; Wed, 23 Nov 2022 16:16:24 +0000 Received: from makus.postgresql.org ([2001:4800:3e1:1::229]) by malur.postgresql.org with esmtps (TLS1.3:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1oxsQB-0003qa-03 for pgsql-general@lists.postgresql.org; Wed, 23 Nov 2022 16:16:24 +0000 Received: from out5-smtp.messagingengine.com ([66.111.4.29]) by makus.postgresql.org with esmtps (TLS1.3:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1oxsQ7-0006Ud-R5 for pgsql-general@postgresql.org; Wed, 23 Nov 2022 16:16:21 +0000 Received: from compute2.internal (compute2.nyi.internal [10.202.2.46]) by mailout.nyi.internal (Postfix) with ESMTP id E9E045C005B; Wed, 23 Nov 2022 11:16:17 -0500 (EST) Received: from mailfrontend2 ([10.202.2.163]) by compute2.internal (MEProxy); Wed, 23 Nov 2022 11:16:17 -0500 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=aklaver.com; h= cc:content-transfer-encoding:content-type:date:date:from:from :in-reply-to:in-reply-to:message-id:mime-version:references :reply-to:sender:subject:subject:to:to; s=fm3; t=1669220177; x= 1669306577; bh=o/q8/60FWhhR9He/r/B7Ms1z4ik/hbnbND5KWXKdWWs=; b=U xF4BmwC3OPIUqqMrfgYEsvT3ofzL4rE3NNJPTvCErhJPJ8q3gmJXQKpDvAXuTSNt ImZkLIO+KRUblBNjLjM3T5NzDTa7jIH4jW6YaTH4pyZ0wgm/VTHOiKiLsFjQ9nMs Fn4dneoqI4amSCQ5DOGM4dJooyt7oPp0gEQyySHfQWzkW124Gq/Yl3IfxvA+lRGs j35O2EB0SaWClmwbWTXxs6Dk6MbMhHVvatH8O/y8hZADNfPR5LRWFlpdy99Xp6cj 0secuvqrF49XYapmYZR1HbMHpQNXuBoy9w5DW6YXDcp4e/TY8WvUSz5FqF7vz6To O1Mdo1FXaqQNFiWi35oow== DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d= messagingengine.com; h=cc:content-transfer-encoding:content-type :date:date:feedback-id:feedback-id:from:from:in-reply-to :in-reply-to:message-id:mime-version:references:reply-to:sender :subject:subject:to:to:x-me-proxy:x-me-proxy:x-me-sender :x-me-sender:x-sasl-enc; s=fm1; t=1669220177; x=1669306577; bh=o /q8/60FWhhR9He/r/B7Ms1z4ik/hbnbND5KWXKdWWs=; b=BY/gv2yurtecsCrsj Rc9caySSXQRbZk3WsPEoyqhXMo9kvBOmLLw24nvjeWSHsGjQ7DFUSU/gvSBOTr5M bC8eKidi9oc/bYl0cwfL4bKbbXE6vVyKq8tDUKuth/CnGQS3Nu+flMNGGDcRiXor Lpjqpm6LNJEtQdaqxLw0kPZWBQ7CRa0cygV6hPqRbem3YuQBZSkFrLWVvRgA6xgr GhLF9xe00D9phlJ1+IJfKX2HPLAeCFMoQGcjyRtl2CLMjk8DHuOFVi3FXnhqaBzu uhWOJk6C6OffqPOHTrYu0i3RhKgLGXUbd3kFtOFYbB0VIffvNRJALQeFglsnih0G LQ9/w== X-ME-Sender: X-ME-Received: X-ME-Proxy-Cause: gggruggvucftvghtrhhoucdtuddrgedvgedriedugdekgecutefuodetggdotefrodftvf curfhrohhfihhlvgemucfhrghsthforghilhdpqfgfvfdpuffrtefokffrpgfnqfghnecu uegrihhlohhuthemuceftddtnecunecujfgurhepkfffgggfuffvfhfhjggtgfesthekre dttdefjeenucfhrhhomheptegurhhirghnucfmlhgrvhgvrhcuoegrughrihgrnhdrkhhl rghvvghrsegrkhhlrghvvghrrdgtohhmqeenucggtffrrghtthgvrhhnpedugfeuleegve ffhfegleejhefhtedtgeeileeggfehfefffeevgeejtdeutefftdenucevlhhushhtvghr ufhiiigvpedtnecurfgrrhgrmhepmhgrihhlfhhrohhmpegrughrihgrnhdrkhhlrghvvg hrsegrkhhlrghvvghrrdgtohhm X-ME-Proxy: Feedback-ID: i76984098:Fastmail Received: by mail.messagingengine.com (Postfix) with ESMTPA; Wed, 23 Nov 2022 11:16:17 -0500 (EST) Message-ID: <2150ae60-0da1-953e-cd8b-1384b394582b@aklaver.com> Date: Wed, 23 Nov 2022 08:16:16 -0800 MIME-Version: 1.0 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:102.0) Gecko/20100101 Thunderbird/102.5.0 Subject: Re: Fwd: Change the auth. postgresql and GIS To: Nikolas Hanry , pgsql-general@postgresql.org References: Content-Language: en-US From: Adrian Klaver In-Reply-To: Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 8bit List-Id: List-Help: List-Subscribe: List-Post: List-Owner: List-Archive: Archived-At: Precedence: bulk On 11/23/22 02:23, Nikolas Hanry wrote: > > Dear Community, Comments inline below. > > we tried to change the auth. in our postgresql environment (PostgreSQL V.11) > from MD5 to SCRUM SHA 256 > >  - stop the services and killed all active connections > - changed with alter and set pw the editor user to sha (psql) a) What is password_encryption set to in postgresql.conf? b) What was the exact ALTER command? c) What is meant by editor user? > - checked if the pw changes successfull (psql and pg4admin) Check how? > - tried to open new document from GIS desktop and edit --> error msg. > connection not available a) Post the error message. b) What is GIS desktop? > - after few minutes the pw synchonized and changed  automatically back How did you determine the password was changed back? > > My questions are: > Is it possible to work with GIS files (desktop and web) after pw changes > to SHA 256? We are handling with this issue and don't want to change it > directly for gisadmin (owner all db's) either with the postgres user > > Does the changes revert back automatically to MD5 after a while due > synchronization? In our test environment tried the same way, although > the only difference was that we changed as well pg_hba_conf as well > host     postgres      all        172.xxx.xxx.83/32   scram-sha-256 >  and Type       DB  USER      ADDRESS     METHOD    --> trust and > scram-sha-256 overall. What are the settings in pg_hba.conf in the production setup? > > Many thanks in advance > Best Regards > Nikola Lubenov > > > -- Adrian Klaver adrian.klaver@aklaver.com