<div dir="ltr"><div><div><div><div><div>Hello,<br><br></div>I&#39;m trying to configure pgpool with ldap authentication via pam on a centos 7 system.  I&#39;m also using nss-pam-ldapd-0.8.13-8.el7.x86_64 which provides pam_ldap.so<br><br></div>I have a rule within the pool_hba.conf file that uses the &quot;pam&quot; auth method, and within /etc/pam.d/pgpool I have the following:<br><br>#%PAM-1.0<br>auth            required        pam_ldap.so<br>account         required        pam_ldap.so<br><br></div>pgpool starts up fine but whenever I try connecting to pgpool, I get a password prompt, but when I enter the password the connecting suddenly gets terminated.  I check the logs in pgpool and get the following error:<br><br>Mar 28 21:54:14 localhost pgpool: *** Error in `pgpool: accept connection&#39;: free(): invalid size: 0x00000<br>00002725b80 ***<br>Mar 28 21:54:14 localhost pgpool: ======= Backtrace: =========<br>Mar 28 21:54:14 localhost pgpool: /lib64/libc.so.6(+0x7c503)[0x7f3c09786503]<br>Mar 28 21:54:14 localhost pgpool: /lib64/libpam.so.0(pam_vprompt+0x133)[0x7f3c0aca9153]<br>Mar 28 21:54:14 localhost pgpool: /lib64/libpam.so.0(pam_prompt+0x8a)[0x7f3c0aca930a]<br>Mar 28 21:54:14 localhost pgpool: /lib64/libpam.so.0(+0x44e4)[0x7f3c0aca54e4]<br>Mar 28 21:54:14 localhost pgpool: /usr/lib64/security/pam_ldap.so(pam_sm_authenticate+0xb9)[0x7f3c05ae272<br>9]<br>Mar 28 21:54:14 localhost pgpool: /lib64/libpam.so.0(+0x2f6a)[0x7f3c0aca3f6a]<br>Mar 28 21:54:14 localhost pgpool: /lib64/libpam.so.0(pam_authenticate+0x30)[0x7f3c0aca3830]<br>Mar 28 21:54:14 localhost pgpool: pgpool: accept connection[0x421a04]<br>Mar 28 21:54:14 localhost pgpool: pgpool: accept connection[0x428150]<br>Mar 28 21:54:14 localhost pgpool: pgpool: accept connection[0x406dec]<br>Mar 28 21:54:14 localhost pgpool: pgpool: accept connection[0x40b165]<br>Mar 28 21:54:14 localhost pgpool: pgpool: accept connection[0x40560f]<br>Mar 28 21:54:14 localhost pgpool: /lib64/libc.so.6(__libc_start_main+0xf5)[0x7f3c0972bb35]<br>Mar 28 21:54:14 localhost pgpool: pgpool: accept connection[0x405a2d]<br>Mar 28 21:54:14 localhost pgpool: ======= Memory map: ========<br>...<br><br></div>Any ideas on what the issue is?<br><br></div>Thanks!<br clear="all"><div><div><div><div><div><div><div><br>-- <br><div class="gmail_signature"><div dir="ltr"><div><div dir="ltr"><div><div dir="ltr"><div><div dir="ltr"><div dir="ltr"><div dir="ltr"><div><div dir="ltr"><font color="#666666"><span>Danny Im</span><br>Software Developer</font></div><div dir="ltr"><font color="#666666">Polar Geospatial Center<br><span>University of Minnesota</span></font></div></div></div></div></div></div></div></div></div></div></div></div>
</div></div></div></div></div></div></div></div>