<div dir="ltr"><div><div><div><div><div><div><div><div>Hi all.<br><br></div>My question is about pgpool 3.1.14<br></div>In documentation I see description about auth through enabling option enable_pool_hba<br></div>And what is the workflow when enable_pool_hba is false ? Is this simple proxy of auth requests to backend?<br><br></div>If yes, I have second question. <br></div>My configuration is:<br></div>Ubuntu 14.04 x64<br></div>pgpool 3.1.14 in master/slave (stream) mode with load balancing enabled<br>enable_pool_hba = false<br><br></div>When I trying to test connection, I get:<br><div>psql: ERROR:  MD5 authentication is unsupported in replication, master-slave and parallel modes.<br>HINT:  check pg_hba.conf<br><br></div><div>I find problem description and way to solve it, when enable_pool_hba = true<br></div><div>But I have enable_pool_hba =false<br><br></div><div>I see that requests do not reach master/slave backends.<br><br></div>pgpool in debug mode gives:<br>2015-04-16 16:25:39 DEBUG: pid 21851: I am 21851 accept fd 6<br>2015-04-16 16:25:39 LOG:   pid 21851: connection received: host=10.10.10.221 port=51043<br>2015-04-16 16:25:39 DEBUG: pid 21851: Protocol Major: 1234 Minor: 5679 database:  user: <br>2015-04-16 16:25:39 DEBUG: pid 21851: SSLRequest from client<br>2015-04-16 16:25:39 DEBUG: pid 21851: read_startup_packet: application_name: psql<br>2015-04-16 16:25:39 DEBUG: pid 21851: Protocol Major: 3 Minor: 0 database: test user: test<br>2015-04-16 16:25:39 DEBUG: pid 21851: new_connection: connecting 0 backend<br>2015-04-16 16:25:39 DEBUG: pid 21851: new_connection: connecting 1 backend<br>2015-04-16 16:25:39 DEBUG: pid 21851: pool_read_message_length: slot: 0 length: 12<br>2015-04-16 16:25:39 DEBUG: pid 21851: pool_read_message_length: slot: 1 length: 12<br>2015-04-16 16:25:39 DEBUG: pid 21851: pool_do_auth: auth kind:5<br clear="all"><br>-- <br><div class="gmail_signature"><div dir="ltr"><div>--<br>Best regards,<br></div>Ilia Zenkevich<br></div></div>
</div>