<div dir="ltr">yes</div><br><div class="gmail_quote"><div dir="ltr" class="gmail_attr">On Wed, Aug 2, 2023 at 10:12 AM Bo Peng <<a href="mailto:pengbo@sraoss.co.jp">pengbo@sraoss.co.jp</a>> wrote:<br></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex">Hi,<br>
<br>
Did you enable "enable_pool_hba" in pgpool.conf?<br>
<br>
  enable_pool_hba = on <br>
<br>
On Wed, 2 Aug 2023 08:39:15 +0200<br>
Tan Mientras <<a href="mailto:tanimientras@gmail.com" target="_blank">tanimientras@gmail.com</a>> wrote:<br>
<br>
> Using<br>
> <br>
> host all all <a href="http://192.162.122.0/24" rel="noreferrer" target="_blank">192.162.122.0/24</a> password<br>
> <br>
> on my pool_hba.conf doesnt work as expected and still complains in logs for<br>
> pool_password file not containing dbusername.<br>
> <br>
> On Wed, Aug 2, 2023 at 4:45 AM Bo Peng <<a href="mailto:pengbo@sraoss.co.jp" target="_blank">pengbo@sraoss.co.jp</a>> wrote:<br>
> <br>
> > Hi,<br>
> ><br>
> > > How could I configure pgpool to "forward" username/password provided by<br>
> > > client to postgresql? Is there a way to not use pool_passwd file?<br>
> ><br>
> > You can avoid maintaining pool_passwd by setting<br>
> > "allow_clear_text_frontend_auth = on".<br>
> > However, it is not recommended for production environments for security<br>
> > reasons.<br>
> ><br>
> > If you don't want to maintain pool_passwd,<br>
> > it is recommended to set "enable_pool_hba = on" and use hostssl and<br>
> > "password" method<br>
> > in pool_hba.conf so that clients are enforced to use SSL encryption.<br>
> ><br>
> > Please refer to the documentation for more details:<br>
> > <a href="https://www.pgpool.net/docs/latest/en/html/auth-methods.html#AUTH-PASSWORD" rel="noreferrer" target="_blank">https://www.pgpool.net/docs/latest/en/html/auth-methods.html#AUTH-PASSWORD</a><br>
> ><br>
> > On Tue, 1 Aug 2023 14:03:44 +0200<br>
> > Tan Mientras <<a href="mailto:tanimientras@gmail.com" target="_blank">tanimientras@gmail.com</a>> wrote:<br>
> ><br>
> > > Hi<br>
> > ><br>
> > > Newbie here dealing with a minimal 3-node pgpool cluster (using bitnami<br>
> > > docker image).<br>
> > ><br>
> > > On my first test after succesfully setting up the cluter, client<br>
> > complains<br>
> > > with "pool_passwd file does not contain an entry for 'dbusername'"<br>
> > ><br>
> > > After reading<br>
> > ><br>
> > <a href="https://www.pgpool.net/docs/pgpool-II-4.4.3/en/html/client-authentication.html" rel="noreferrer" target="_blank">https://www.pgpool.net/docs/pgpool-II-4.4.3/en/html/client-authentication.html</a><br>
> > > I'm still unable to understand if pgpool can forward the credentials to<br>
> > > postgresql or if it always act as a "man in the middle" and uses their<br>
> > own<br>
> > > credentials to query the db.<br>
> > ><br>
> > > How could I configure pgpool to "forward" username/password provided by<br>
> > > client to postgresql? Is there a way to not use pool_passwd file?<br>
> > ><br>
> > > Thanks in advance<br>
> > > Regards.<br>
> ><br>
> ><br>
> > --<br>
> > Bo Peng <<a href="mailto:pengbo@sraoss.co.jp" target="_blank">pengbo@sraoss.co.jp</a>><br>
> > SRA OSS LLC<br>
> > TEL: 03-5979-2701 FAX: 03-5979-2702<br>
> > URL: <a href="https://www.sraoss.co.jp/" rel="noreferrer" target="_blank">https://www.sraoss.co.jp/</a><br>
> ><br>
<br>
<br>
-- <br>
Bo Peng <<a href="mailto:pengbo@sraoss.co.jp" target="_blank">pengbo@sraoss.co.jp</a>><br>
SRA OSS LLC<br>
TEL: 03-5979-2701 FAX: 03-5979-2702<br>
URL: <a href="https://www.sraoss.co.jp/" rel="noreferrer" target="_blank">https://www.sraoss.co.jp/</a><br>
</blockquote></div>