<div dir="ltr"><br><br><div class="gmail_quote"><div dir="ltr" class="gmail_attr">---------- Forwarded message ---------<br>From: <strong class="gmail_sendername" dir="auto">temp temp</strong> <span dir="auto">&lt;<a href="mailto:ttemp666@gmail.com">ttemp666@gmail.com</a>&gt;</span><br>Date: Tue, Jul 9, 2019 at 10:38 PM<br>Subject: Re: [pgpool-general: 6626] pgpool Authentication<br>To: Tatsuo Ishii &lt;<a href="mailto:ishii@sraoss.co.jp">ishii@sraoss.co.jp</a>&gt;<br></div><br><br><div dir="ltr"><div class="gmail_quote"><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex">&gt; Regarding pgpool authentication (pgpool 4.2)<br><br>&gt;There&#39;s no such a version &quot;4.2&quot;. You mean 4.0?<br>My mistake, its 4.0<br><br>&gt; Configuration are<br>&gt; <br>&gt; pgpool.conf<br>&gt; enable_pool_hba = on<br>&gt; <br>&gt; pool_hba.conf<br>&gt; host    all             all     all    md5<br>&gt; local   all             all                                    md5<br><br>&gt;What is your pg_hba.conf?<br><br>&gt; pool_passwd<br>&gt; postgres: &quot;someValue&quot;<br>&gt; mpspostgres: &quot;someValue&quot;<br>&gt; <br>&gt; When i tried to connection to pgpool  (with password as &quot;someValue&quot;)<br>&gt; psql  -U mpsroot -p 5432 -h 192.168.1.233 mpsdb<br>&gt; <br>&gt; Que 1 :I am successfully able to connection even though password for<br>&gt; mpsroot user is not present in pool_passwd file and axxording to<br>&gt; <br>&gt; <a href="https://pgpool.net/mediawiki/index.php/FAQ#I_created_pool_hba.conf_and_pool_passwd_to_enable_md5_authentication_through_pgpool-II_but_it_does_not_work._Why.3F" target="_blank">https://pgpool.net/mediawiki/index.php/FAQ#I_created_pool_hba.conf_and_pool_passwd_to_enable_md5_authentication_through_pgpool-II_but_it_does_not_work._Why.3F</a><br>&gt;        Auth should fail<br><br>&gt;Probably you are of the pattern in the FAQ above.<br><br>&gt;pg_hba.conf     pool_hba.conf   pool_passwd     result<br>&gt;------------------------------------------------------<br>&gt;trust           md5             yes             no auth <br><br>I don&#39;t think above pattern is hit, because i don&#39;t have password mpsroot in pool_passwd <br><br>&gt;If not, please share pg_hba.conf.<br><br>pg_hba.conf<br><br>local   all             all                                    trust <br>host    all             all             <a href="http://127.0.0.1/32" target="_blank">127.0.0.1/32</a>            md5<br>host    all             all             <a href="http://0.0.0.0/0" target="_blank">0.0.0.0/0</a>            md5<br>host    replication     primaryuser     <a href="http://0.0.0.0/0" target="_blank">0.0.0.0/0</a>            md5<br><br><br><br>Thanks for clarifying my all question. <br><br>
</blockquote></div></div>
</div></div>