[pgpool-general: 5409] Re: pam ldap failure

Muhammad Usama m.usama at gmail.com
Sat Apr 1 00:29:08 JST 2017


Hi

It was an issue in the Pgpool-II code that was causing this problem. I have
pushed the fix for that.

https://git.postgresql.org/gitweb/?p=pgpool2.git;a=commitdiff;h=c4f816b53b22956c60cf1a78f87d266675c15d43


Thanks
Best Regards
Muhammad Usama


On Wed, Mar 29, 2017 at 2:56 AM, Danny Im <imxxx021 at umn.edu> wrote:

> 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
>
> _______________________________________________
> pgpool-general mailing list
> pgpool-general at pgpool.net
> http://www.pgpool.net/mailman/listinfo/pgpool-general
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.sraoss.jp/pipermail/pgpool-general/attachments/20170331/a054402f/attachment-0001.html>


More information about the pgpool-general mailing list