<html><head></head><body><div class="ydpb9bb1c42yahoo-style-wrap" style="font-family: bookman old style, new york, times, serif; font-size: 16px;"><div></div>
        <div>Hi</div><div><br></div><div>Yes I am using pgpool 4.0.2.</div><div>I will try with another version and will let you Know</div><div><br></div><div>Thanks a lot</div><div><br></div><div>Regards</div><div><br></div>
        
        </div><div id="ydpa668019fyahoo_quoted_5917896008" class="ydpa668019fyahoo_quoted">
            <div style="font-family:'Helvetica Neue', Helvetica, Arial, sans-serif;font-size:13px;color:#26282a;">
                
                <div>
                    Le vendredi 21 décembre 2018 à 01:43:26 UTC+1, Takuma Hoshiai &lt;hoshiai@sraoss.co.jp&gt; a écrit :
                </div>
                <div><br></div>
                <div><br></div>
                <div><div dir="ltr">Hi,<br clear="none"><br clear="none">Sorry for replying so late.<br clear="none"><br clear="none">On Tue, 18 Dec 2018 14:31:23 +0000 (UTC)<br clear="none">Mouhamadou DIAW &lt;<a shape="rect" href="mailto:diawfr@yahoo.fr" rel="nofollow" target="_blank">diawfr@yahoo.fr</a>&gt; wrote:<br clear="none"><br clear="none">&gt; Dear all<br clear="none">&gt; I am configuring pgpool with pam<br clear="none">&gt; Here is my pool_hba.conf<br clear="none">&gt; [<a shape="rect" href="mailto:root@dbi-pg-tools" rel="nofollow" target="_blank">root@dbi-pg-tools</a> pgpool-II-11]# cat pool_hba.conf | grep -v ^#local&nbsp; &nbsp;all&nbsp; &nbsp; &nbsp; &nbsp; &nbsp;all&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;trust<br clear="none">&gt; host&nbsp; &nbsp; all&nbsp; &nbsp; &nbsp; &nbsp; &nbsp;all&nbsp; &nbsp; &nbsp; &nbsp; &nbsp;127.0.0.1/32&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; trusthost&nbsp; &nbsp; all&nbsp; &nbsp; &nbsp; &nbsp; &nbsp;all&nbsp; &nbsp; &nbsp; &nbsp; &nbsp;::1/128&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;trusthost&nbsp; &nbsp; all&nbsp; &nbsp; &nbsp; &nbsp; &nbsp;usr1&nbsp; &nbsp; &nbsp; &nbsp; &nbsp;192.168.22.0/24&nbsp; &nbsp; &nbsp; md5host&nbsp; &nbsp; all&nbsp; &nbsp; &nbsp; &nbsp; &nbsp;usr2&nbsp; &nbsp; &nbsp; &nbsp; &nbsp;192.168.22.0/24&nbsp; &nbsp; &nbsp; pam<br clear="none">&gt; Here is my pg_hba.conf&nbsp;<br clear="none">&gt; [<a shape="rect" href="mailto:root@dbi-pg-essentials" rel="nofollow" target="_blank">root@dbi-pg-essentials</a> data]# cat pg_hba.conf | grep -v ^#local&nbsp; &nbsp;all&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;all&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;peer<br clear="none">&gt; host&nbsp; &nbsp; all&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;all&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;127.0.0.1/32&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; identhost&nbsp; &nbsp; all&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;usr1&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; 192.168.22.0/24&nbsp; &nbsp; &nbsp; &nbsp; md5host&nbsp; &nbsp; all&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;usr2&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; 192.168.22.0/24&nbsp; &nbsp; &nbsp; &nbsp; pamhost&nbsp; &nbsp; all&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;all&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;::1/128&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;identlocal&nbsp; &nbsp;replication&nbsp; &nbsp; &nbsp;all&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;peerhost&nbsp; &nbsp; replication&nbsp; &nbsp; &nbsp;all&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;127.0.0.1/32&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; identhost&nbsp; &nbsp; replication&nbsp; &nbsp; &nbsp;all&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;::1/128&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;ident<br clear="none">&gt; <br clear="none">&gt; here my pgpool service for the pam<br clear="none">&gt; [<a shape="rect" href="mailto:root@dbi-pg-tools" rel="nofollow" target="_blank">root@dbi-pg-tools</a> pam.d]# cat /etc/pam.d/pgpool#%PAM-1.0auth&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; required&nbsp; &nbsp; &nbsp; &nbsp; pam_permit.soaccount&nbsp; &nbsp; &nbsp; &nbsp; &nbsp;required&nbsp; &nbsp; &nbsp; &nbsp; pam_permit.so[<a shape="rect" href="mailto:root@dbi-pg-tools" rel="nofollow" target="_blank">root@dbi-pg-tools</a> pam.d]#<br clear="none">&gt; <br clear="none">&gt; But when trying to connect using pgpool&nbsp; I have following issue<br clear="none">&gt; [<a shape="rect" href="mailto:postgres@dbi-pg-tools" rel="nofollow" target="_blank">postgres@dbi-pg-tools</a> ~]$ psql -h 192.168.22.100 -U usr2 -d postgres -p 9999psql: ERROR:&nbsp; authenticate_frontend called with PAM[<a shape="rect" href="mailto:postgres@dbi-pg-tools" rel="nofollow" target="_blank">postgres@dbi-pg-tools</a> ~]$<br clear="none"><br clear="none">I think that this is a possibility of a bug.<br clear="none">Do you use Pgpool-II 4.0.2 ? <br clear="none">And if so this problem don't may happend other minor and major versions. <div class="ydpa668019fyqt8388390642" id="ydpa668019fyqtfd70803"><br clear="none"><br clear="none"><br clear="none">&gt; Can you help please<br clear="none">&gt; Regards<br clear="none"><br clear="none">Regards.</div><br clear="none"><br clear="none">-- <br clear="none">Takuma Hoshiai &lt;<a shape="rect" href="mailto:hoshiai@sraoss.co.jp" rel="nofollow" target="_blank">hoshiai@sraoss.co.jp</a><div class="ydpa668019fyqt8388390642" id="ydpa668019fyqtfd30788">&gt;<br clear="none"></div></div></div>
            </div>
        </div></body></html>