<html dir="ltr">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
<meta name="GENERATOR" content="MSHTML 8.00.6001.18702">
<style id="owaTempEditStyle"></style><style title="owaParaStyle"><!--P {
        MARGIN-TOP: 0px; MARGIN-BOTTOM: 0px
}
--></style>
</head>
<body ocsi="x">
<div style="FONT-FAMILY: Tahoma; DIRECTION: ltr; COLOR: #000000; FONT-SIZE: x-small">
<div>The pg_hba.conf in each postgresql server has the same configuration??</div>
<div>&nbsp;</div>
<div>Regards.</div>
<div dir="ltr"><font color="#000000" size="2" face="Tahoma"></font>&nbsp;</div>
<div style="DIRECTION: ltr" id="divRpF940711">
<hr tabindex="-1">
<font color="#000000" size="2" face="Tahoma"><b>From:</b> pgpool-general-bounces@pgpool.net [pgpool-general-bounces@pgpool.net] On Behalf Of Michael Barrett [loki77@gmail.com]<br>
<b>Sent:</b> Thursday, August 30, 2012 7:00 PM<br>
<b>To:</b> pgpool-general@pgpool.net<br>
<b>Subject:</b> [pgpool-general: 936] Issue w/ md5 auth in master/slave mode<br>
</font><br>
</div>
<div></div>
<div>Hi, I'm working on getting pgpool working in a master/slave setup using md5 authentication. &nbsp;Here's the versions of software I'm running:
<div><br>
</div>
<div>pgpool-II-3.2.0</div>
<div>postgresql-9.1.5</div>
<div><br>
</div>
<div>I've setup a pool_passwd file using pg_md5 on the pgpool server for the user 'mike'. &nbsp;I've also setup the user 'mike' in the postgres database and updated pg_hba.conf to allow md5 connections from the pool host. &nbsp;As well I've setup pool_hba.conf &nbsp;with
 the following entry:</div>
<div><br>
</div>
<div>host &nbsp; &nbsp;all &nbsp; &nbsp; &nbsp; &nbsp; all &nbsp; &nbsp; &nbsp; &nbsp;&nbsp;<a style="COLOR: rgb(17,85,204)" href="http://127.0.0.1/32" target="_blank">127.0.0.1/32</a>&nbsp;&nbsp; &nbsp; &nbsp; &nbsp; &nbsp;md5</div>
<div><br>
</div>
<div>Whenever I try to connect (via psql) I get the following error:</div>
<div><br>
</div>
<div>
<div style="BACKGROUND-COLOR: rgb(255,255,255); FONT-FAMILY: arial,sans-serif; COLOR: rgb(34,34,34); FONT-SIZE: 12px">
psql: ERROR: &nbsp;MD5 authentication is unsupported in replication, master-slave and parallel modes.</div>
<div style="BACKGROUND-COLOR: rgb(255,255,255); FONT-FAMILY: arial,sans-serif; COLOR: rgb(34,34,34); FONT-SIZE: 12px">
HINT: &nbsp;check pg_hba.conf</div>
<div style="BACKGROUND-COLOR: rgb(255,255,255); FONT-FAMILY: arial,sans-serif; COLOR: rgb(34,34,34); FONT-SIZE: 12px">
<br>
</div>
<div style="BACKGROUND-COLOR: rgb(255,255,255); FONT-FAMILY: arial,sans-serif; COLOR: rgb(34,34,34); FONT-SIZE: 12px">
Any idea what might be going on there? &nbsp;I don't see it attempt to auth against the postgres server at all, and I'm not sure why pgpool is saying that md5 isn't allowed with master-slave mode when it sounds like it has been able to since 3.0.</div>
<div style="BACKGROUND-COLOR: rgb(255,255,255); FONT-FAMILY: arial,sans-serif; COLOR: rgb(34,34,34); FONT-SIZE: 12px">
<br>
</div>
<div style="BACKGROUND-COLOR: rgb(255,255,255); FONT-FAMILY: arial,sans-serif; COLOR: rgb(34,34,34); FONT-SIZE: 12px">
Thanks in advance!</div>
<div style="PADDING-BOTTOM: 10px; BACKGROUND-COLOR: rgb(255,255,255); MARGIN: 2px 0px 0px; OUTLINE-STYLE: none; OUTLINE-COLOR: invert; PADDING-LEFT: 0px; OUTLINE-WIDTH: medium; WIDTH: 22px; PADDING-RIGHT: 0px; FONT-FAMILY: arial,sans-serif; COLOR: rgb(34,34,34); FONT-SIZE: 12px; PADDING-TOP: 10px" class="yj6qo ajU">
</div>
</div>
<div><br>
</div>
-- <br>
Michael Barrett<br>
<br>
<hr>
<font color="gray" size="1" face="Arial">Fin a la injusticia, LIBERTAD AHORA A NUESTROS CINCO COMPATRIOTAS QUE SE ENCUENTRAN INJUSTAMENTE EN PRISIONES DE LOS EEUU!<br>
http://www.antiterroristas.cu<br>
http://justiciaparaloscinco.wordpress.com<br>
</font></div>
</div>
<br>
<hr>
<font face="Arial" color="Gray" size="1">Fin a la injusticia, LIBERTAD AHORA A NUESTROS CINCO COMPATRIOTAS QUE SE ENCUENTRAN INJUSTAMENTE EN PRISIONES DE LOS EEUU!<br>
http://www.antiterroristas.cu<br>
http://justiciaparaloscinco.wordpress.com<br>
</font>
</body>
</html>