[pgpool-general: 5396] pam ldap failure

Danny Im imxxx021 at umn.edu
Wed Mar 29 06:56:20 JST 2017


Hello,

I'm trying to configure pgpool with ldap authentication via pam on a centos
7 system.  I'm also using nss-pam-ldapd-0.8.13-8.el7.x86_64 which provides
pam_ldap.so

I have a rule within the pool_hba.conf file that uses the "pam" auth
method, and within /etc/pam.d/pgpool I have the following:

#%PAM-1.0
auth            required        pam_ldap.so
account         required        pam_ldap.so

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:

Mar 28 21:54:14 localhost pgpool: *** Error in `pgpool: accept connection':
free(): invalid size: 0x00000
00002725b80 ***
Mar 28 21:54:14 localhost pgpool: ======= Backtrace: =========
Mar 28 21:54:14 localhost pgpool: /lib64/libc.so.6(+0x7c503)[0x7f3c09786503]
Mar 28 21:54:14 localhost pgpool:
/lib64/libpam.so.0(pam_vprompt+0x133)[0x7f3c0aca9153]
Mar 28 21:54:14 localhost pgpool:
/lib64/libpam.so.0(pam_prompt+0x8a)[0x7f3c0aca930a]
Mar 28 21:54:14 localhost pgpool:
/lib64/libpam.so.0(+0x44e4)[0x7f3c0aca54e4]
Mar 28 21:54:14 localhost pgpool:
/usr/lib64/security/pam_ldap.so(pam_sm_authenticate+0xb9)[0x7f3c05ae272
9]
Mar 28 21:54:14 localhost pgpool:
/lib64/libpam.so.0(+0x2f6a)[0x7f3c0aca3f6a]
Mar 28 21:54:14 localhost pgpool:
/lib64/libpam.so.0(pam_authenticate+0x30)[0x7f3c0aca3830]
Mar 28 21:54:14 localhost pgpool: pgpool: accept connection[0x421a04]
Mar 28 21:54:14 localhost pgpool: pgpool: accept connection[0x428150]
Mar 28 21:54:14 localhost pgpool: pgpool: accept connection[0x406dec]
Mar 28 21:54:14 localhost pgpool: pgpool: accept connection[0x40b165]
Mar 28 21:54:14 localhost pgpool: pgpool: accept connection[0x40560f]
Mar 28 21:54:14 localhost pgpool:
/lib64/libc.so.6(__libc_start_main+0xf5)[0x7f3c0972bb35]
Mar 28 21:54:14 localhost pgpool: pgpool: accept connection[0x405a2d]
Mar 28 21:54:14 localhost pgpool: ======= Memory map: ========
...

Any ideas on what the issue is?

Thanks!

-- 
Danny Im
Software Developer
Polar Geospatial Center
University of Minnesota
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.sraoss.jp/pipermail/pgpool-general/attachments/20170328/c1c647b4/attachment.html>


More information about the pgpool-general mailing list