public inbox for [email protected]  
help / color / mirror / Atom feed
From: vijay patil <[email protected]>
To: [email protected]
To: [email protected]
Subject: Issue with Password Authentication for Pgpool
Date: Thu, 9 Jan 2025 10:36:31 +0530
Message-ID: <CAD5k+7yAt2bMUpgcEsDEvtJZA2yhre8_ENjjrWZ6VRjy5J8vzQ@mail.gmail.com> (raw)

Hello Everyone,

Need assistance on below requirements.

My requirement is to prompt for a password when connecting through Pgpool
(port 9999) and to avoid using the pool_password file. However, I’m
currently getting the error related to the lack of an entry in the
pool_passwd file.

Could you please advise how I can achieve password authentication without
using the pool_password file, while ensuring that Pgpool prompts for the
password during connection?


Here is the relevant configuration from my pool_hba.conf:


host    all         all         10.125.0.90/32       trust
# Node 1host    all         all         10.125.0.91/32       trust
       # Node 2#host    all         all         10.125.0.79/32
scram-sha-256    # Node 3host    all         all         0.0.0.0/0
       scram-sha-256    # All nodes

error :-
[postgres@scrbtrheldbaas002 PG_DATA]$ psql -h 10.125.0.79 -U vkp -d
postgres -p 9999
psql: error: connection to server at "10.125.0.79", port 9999 failed:
FATAL:  SCRAM authentication failed
DETAIL:  pool_passwd file does not contain an entry for "vkp"


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 using the --to and --cc options:
  reply via email

  To: [email protected]
  Cc: [email protected], [email protected], [email protected]
  Subject: Re: Issue with Password Authentication for Pgpool
  In-Reply-To: <CAD5k+7yAt2bMUpgcEsDEvtJZA2yhre8_ENjjrWZ6VRjy5J8vzQ@mail.gmail.com>

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

This inbox is served by agora; see mirroring instructions
for how to clone and mirror all data and code used for this inbox