Re: Issue with Password Authentication for Pgpool

From: vijay patil <vijay(dot)postgres(at)gmail(dot)com>
To: "David G(dot) Johnston" <david(dot)g(dot)johnston(at)gmail(dot)com>
Cc: "pgsql-general(at)lists(dot)postgresql(dot)org" <pgsql-general(at)lists(dot)postgresql(dot)org>
Subject: Re: Issue with Password Authentication for Pgpool
Date: 2025-01-09 06:04:23
Message-ID: CAD5k+7z7ns134qsF7hrxGXqWKZ-GCPeZaTePx0FowH_GG55+_A@mail.gmail.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-general

If we plan to use pool_hba.conf, then we must use the pool_passwd file to
maintain passwords for all database users. This approach requires that
every time a new user is created, their password is added to the pool_passwd
file. The challenge with this method is that it becomes difficult to
maintain, as we need to manually update the pool_passwd file for every user
creation or password change. Additionally, after updating the pool_passwd
file, Pgpool needs to be restarted for the changes to take effect.

Thanks
Vijay

On Thu, Jan 9, 2025 at 11:14 AM David G. Johnston <
david(dot)g(dot)johnston(at)gmail(dot)com> wrote:

> On Wednesday, January 8, 2025, vijay patil <vijay(dot)postgres(at)gmail(dot)com>
> wrote:
>
>> This behavior might be related to how Pgpool handles authentication.
>>
>
> Having never used pgpool I very well could be wrong but from what I can
> gather what you want to do is simply not possible within the current design
> of pgpool. Namely you have multiple nodes so cannot rely on raw mode but
> raw mode is required for the kind of pass-through auth you are trying.
> Instead you require pool_hba.conf which itself requires the password file.
>
> David J.
>
>

In response to

Responses

Browse pgsql-general by date

  From Date Subject
Next Message David G. Johnston 2025-01-09 06:12:44 Re: Issue with Password Authentication for Pgpool
Previous Message David G. Johnston 2025-01-09 05:44:02 Re: Issue with Password Authentication for Pgpool