<div dir="ltr">Hi Jianshen,<div><br></div><div>As discussed can you please help to test and review the patch?</div><div><br></div><div><br></div><div>Thanks</div><div>Best Regards</div><div>Muhammad Usama</div></div><br><div class="gmail_quote"><div dir="ltr" class="gmail_attr">On Mon, Mar 9, 2020 at 11:42 AM Takuma Hoshiai &lt;<a href="mailto:hoshiai@sraoss.co.jp">hoshiai@sraoss.co.jp</a>&gt; 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">I created and attached a patch which support LDAP authentication between client and Pgpool-II.<br>
<br>
LDAP authentication can operate in two modes(simple bind mode and search and bind<br>
mode), auth options is set by pool_hba.conf.  These are the same as PostgreSQL LDAP<br>
authentication.<br>
<br>
LDAP authentication require a password input from client. It is not used for <br>
authentication between Pgpool-II and PostgreSQL by default, because LDAP and PostgreSQL<br>
may have different passwords. If LDAP authentication password is the same as PostgreSQL,<br>
we can reuse it for authentication between Pgpool-II and PostgreSQL by setting<br>
backend_use_password to 1 in auth-options.<br>
<br>
If you test a this patch, you should need automake and autoconf because this patch<br>
edited <a href="http://configure.ac" rel="noreferrer" target="_blank">configure.ac</a> .<br>
<br>
for example:<br>
 $ autoheader<br>
 $ aclocal<br>
 $ automake -a -c<br>
 $ autoconf<br>
<br>
Comments and suggestions are welcome.<br>
<br>
-- <br>
Takuma Hoshiai &lt;<a href="mailto:hoshiai@sraoss.co.jp" target="_blank">hoshiai@sraoss.co.jp</a>&gt;<br>
_______________________________________________<br>
pgpool-hackers mailing list<br>
<a href="mailto:pgpool-hackers@pgpool.net" target="_blank">pgpool-hackers@pgpool.net</a><br>
<a href="http://www.pgpool.net/mailman/listinfo/pgpool-hackers" rel="noreferrer" target="_blank">http://www.pgpool.net/mailman/listinfo/pgpool-hackers</a><br>
</blockquote></div>