Received: from malur.postgresql.org ([217.196.149.56]) by arkaria.postgresql.org with esmtps (TLS1.3) tls TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384 (Exim 4.94.2) (envelope-from ) id 1tD3Tb-00FWLF-Hs for pgsql-general@arkaria.postgresql.org; Mon, 18 Nov 2024 15:15:43 +0000 Received: from localhost ([127.0.0.1] helo=malur.postgresql.org) by malur.postgresql.org with esmtp (Exim 4.94.2) (envelope-from ) id 1tD3TZ-005Zb8-I4 for pgsql-general@arkaria.postgresql.org; Mon, 18 Nov 2024 15:15:42 +0000 Received: from makus.postgresql.org ([2001:4800:3e1:1::229]) by malur.postgresql.org with esmtps (TLS1.3) tls TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384 (Exim 4.94.2) (envelope-from ) id 1tD3TY-005Zb0-5Y for pgsql-general@lists.postgresql.org; Mon, 18 Nov 2024 15:15:41 +0000 Received: from fout-b7-smtp.messagingengine.com ([202.12.124.150]) by makus.postgresql.org with esmtps (TLS1.3) tls TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384 (Exim 4.94.2) (envelope-from ) id 1tD3TR-002Xhc-FK for pgsql-general@lists.postgresql.org; Mon, 18 Nov 2024 15:15:39 +0000 Received: from phl-compute-09.internal (phl-compute-09.phl.internal [10.202.2.49]) by mailfout.stl.internal (Postfix) with ESMTP id EE25111401CA; Mon, 18 Nov 2024 10:15:31 -0500 (EST) Received: from phl-mailfrontend-02 ([10.202.2.163]) by phl-compute-09.internal (MEProxy); Mon, 18 Nov 2024 10:15:32 -0500 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=aklaver.com; h= cc:content-transfer-encoding:content-type:content-type:date:date :from:from:in-reply-to:in-reply-to:message-id:mime-version :references:reply-to:subject:subject:to:to; s=fm2; t=1731942931; x=1732029331; bh=LcoaVgdZbjY01fFE4NZ+1IhhtFD7SjHuvmugbsd/78Y=; b= 0euIRxCGE83CacVzTjRc/kare0JZxHrgLi7PzG/titCVU8/KZ1iLfPHIfHcDAttq ckwm3oMENubVGP644bvBImP2Sb1dF700ctMVJYpJlRwtXJLzhX6kzm0pDEcZKytD tcwCQJ5qHDw6rH9yKKApdVCxB/z+Tz59J2M+qGhHW2/MFDME/8SGStF73oToW9eU mItzw2l+B8oYASKcKLjYyyTJGpPu8aBAGCCD+TnnYyO7zCM/M8Lw9PgDeShYcs1x Q9LLRmrL57x1xouCseOUv/xPMOvLfsTOcmRocQpKrMhXXClnqd07wu7tNWfzmyty 2fPmfMYTHtr2xbRugC702w== DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d= messagingengine.com; h=cc:content-transfer-encoding:content-type :content-type:date:date:feedback-id:feedback-id:from:from :in-reply-to:in-reply-to:message-id:mime-version:references :reply-to:subject:subject:to:to:x-me-proxy:x-me-sender :x-me-sender:x-sasl-enc; s=fm3; t=1731942931; x=1732029331; bh=L coaVgdZbjY01fFE4NZ+1IhhtFD7SjHuvmugbsd/78Y=; b=DwlsKy905lnk8W72e 7iqhqczJ19KiTUkdn7J8ytWO0QgE8IzmLPoTtpZgXOwdpRjwWBtcf7k6ln9/kvNY i78OAuUWorj2Y7ycCONfBXAD5QrknfwUhL+XjOpxcWJmtwq3qH7Q4Gp+xP7mTlrh 1PZN/91MK1wLKb8/z4tCAOj61k8BkfDGZq7R3GGBvMQ/P4Zl689v1u3KiyFeQkPr Dgm5rIJyMjsrO3y7vwkszsJi2GzT8MZAAp61KtLLpBtSoiP+q/xSuoDY4KIrSf6N ogfO2v2Eojew6UmBivKNgRxYOnl93e0sIKjcQTtJBOerGZg7SkfbQfgTqbMUhcvi pb2nw== X-ME-Sender: X-ME-Received: X-ME-Proxy-Cause: gggruggvucftvghtrhhoucdtuddrgeefuddrfedtgdejfecutefuodetggdotefrodftvf curfhrohhfihhlvgemucfhrghsthforghilhdpggftfghnshhusghstghrihgsvgdpuffr tefokffrpgfnqfghnecuuegrihhlohhuthemuceftddtnecunecujfgurhepkfffgggfuf fvfhfhjggtgfesthekredttddvjeenucfhrhhomheptegurhhirghnucfmlhgrvhgvrhcu oegrughrihgrnhdrkhhlrghvvghrsegrkhhlrghvvghrrdgtohhmqeenucggtffrrghtth gvrhhnpedviedtuefgleetffetteetteduieehiefgjeffjeefhfegfeejieevuddtjedt ueenucffohhmrghinhepghhithhhuhgsrdgtohhmnecuvehluhhsthgvrhfuihiivgeptd enucfrrghrrghmpehmrghilhhfrhhomheprggurhhirghnrdhklhgrvhgvrhesrghklhgr vhgvrhdrtghomhdpnhgspghrtghpthhtohepvddpmhhouggvpehsmhhtphhouhhtpdhrtg hpthhtohepkhgvnhhnhidtvddtfedtjeesghhmrghilhdrtghomhdprhgtphhtthhopehp ghhsqhhlqdhgvghnvghrrghlsehlihhsthhsrdhpohhsthhgrhgvshhqlhdrohhrgh X-ME-Proxy: Feedback-ID: i76984098:Fastmail Received: by mail.messagingengine.com (Postfix) with ESMTPA; Mon, 18 Nov 2024 10:15:31 -0500 (EST) Message-ID: Date: Mon, 18 Nov 2024 07:15:30 -0800 MIME-Version: 1.0 User-Agent: Mozilla Thunderbird Subject: Re: Re : Credcheck extension To: =?UTF-8?B?5by15a6455GL?= , pgsql-general@lists.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/18/24 01:03, 張宸瑋 wrote: > Hello! >   I would like to inquire about the installation of the credcheck > third-party package to support password complexity and expiration date, > etc., when setting up open-source PostgreSQL. I am using the > credcheck--2.8.0.sql version from GitHub. After completing the setup, I > encountered the following issue: when an account exceeds the configured > number of incorrect login attempts, it gets locked. The command SELECT * > FROM pg_banned_role; should display the columns roleid, failure_count, > and banned_date, and the view is working properly and shows the > information. However, according to the example, the roleid does not > correctly display the corresponding oid for the account with failed > login attempts. I would like to ask if there is a solution for this > issue. Thank you! Have you looked a?: https://github.com/HexaCluster/credcheck/issues/39 -- Adrian Klaver adrian.klaver@aklaver.com