pg.ddx.io pgsql-general@postgresql.org mailing list archivehelp / color / mirror / Atom feed
LDAP on AIX build farm animals 3+ messages / 3 participants [nested] [flat]
* LDAP on AIX build farm animals @ 2019-03-20 23:21 Thomas Munro <thomas.munro@gmail.com> 0 siblings, 1 reply; 3+ messages in thread From: Thomas Munro @ 2019-03-20 23:21 UTC (permalink / raw) To: pgsql-general; +Cc: Noah Misch <noah@leadboat.com> Hello, On several AIX BF animals such as tern, I see evidence that it might be using IBM LDAP: checking for ldap_initialize... no And yet the configure options apparently intended to use OpenLDAP: configure: using CPPFLAGS= -I/home/nm/sw/nopath/libxml2-32/include/libxml2 -I/home/nm/sw/nopath/uuid-32/include -I/home/nm/sw/nopath/openldap-32/include -I/home/nm/sw/nopath/icu58.2-32/include -I/home/nm/sw/nopath/libxml2-32/include configure: using LDFLAGS= -L/home/nm/sw/nopath/libxml2-32/lib -L/home/nm/sw/nopath/uuid-32/lib -L/home/nm/sw/nopath/openldap-32/lib -L/home/nm/sw/nopath/icu58.2-32/lib -L/home/nm/sw/nopath/libxml2-32/lib Another explanation is that it is actually using OpenLDAP, but it's a version so ancient that it doesn't have OpenLDAP's non-standard ldap_initialize() function (that'd put it in the 20th century, pre-2.0). Personally I think it's valuable to have the IBM LDAP client library tested in the build farm, since we already have the OpenLDAP, Microsoft and Apple libraries covered. I wonder if that is the complete set of surviving libldap implementations. Would it be useful for the buildfarm to dump ldd (or equivalent) output for the binaries it's running so that we can see which libraries it finished up linking? -- Thomas Munro https://enterprisedb.com ^ permalink raw reply [nested|flat] 3+ messages in thread
* Re: LDAP on AIX build farm animals @ 2019-03-21 03:35 Tom Lane <tgl@sss.pgh.pa.us> parent: Thomas Munro <thomas.munro@gmail.com> 0 siblings, 1 reply; 3+ messages in thread From: Tom Lane @ 2019-03-21 03:35 UTC (permalink / raw) To: Thomas Munro <thomas.munro@gmail.com>; +Cc: pgsql-general; Noah Misch <noah@leadboat.com> Thomas Munro <thomas.munro@gmail.com> writes: > On several AIX BF animals such as tern, I see evidence that it might > be using IBM LDAP: > checking for ldap_initialize... no Interesting. > Would it be useful for the buildfarm to dump ldd (or equivalent) > output for the binaries it's running so that we can see which > libraries it finished up linking? +1 for displaying the LDAP library type/version in some form, but (a) ldd is pretty platform-specific; (b) you will likely get something like "/usr/lib64/libldap.so" which isn't too definite about what we're using. Is there some other way to fingerprint the LDAP implementation? regards, tom lane ^ permalink raw reply [nested|flat] 3+ messages in thread
* Re: LDAP on AIX build farm animals @ 2019-03-21 05:40 Noah Misch <noah@leadboat.com> parent: Tom Lane <tgl@sss.pgh.pa.us> 0 siblings, 0 replies; 3+ messages in thread From: Noah Misch @ 2019-03-21 05:40 UTC (permalink / raw) To: Tom Lane <tgl@sss.pgh.pa.us>; +Cc: Thomas Munro <thomas.munro@gmail.com>; pgsql-general On Thu, Mar 21, 2019 at 12:21:58PM +1300, Thomas Munro wrote: > On several AIX BF animals such as tern, I see evidence that it might > be using IBM LDAP: > > checking for ldap_initialize... no > Another explanation is that it is actually using OpenLDAP, but it's a > version so ancient that it doesn't have OpenLDAP's non-standard > ldap_initialize() function (that'd put it in the 20th century, > pre-2.0). It's openldap-2.4.45. The conclusion that ldap_initialize() is absent stems from a bug in "configure". This system has LDAP_LIBS_BE='-lldap -llber' due to EXTRA_LDAP_LIBS=-llber, but the ldap_initialize() test is done without -llber. Relevant config.log: https://buildfarm.postgresql.org/cgi-bin/show_stage_log.pl?nm=mandrill&dt=2019-03-20%2021%3A47%3... On Wed, Mar 20, 2019 at 11:35:39PM -0400, Tom Lane wrote: > Thomas Munro <thomas.munro@gmail.com> writes: > > Would it be useful for the buildfarm to dump ldd (or equivalent) > > output for the binaries it's running so that we can see which > > libraries it finished up linking? > > +1 for displaying the LDAP library type/version in some form, but > > (a) ldd is pretty platform-specific; > (b) you will likely get something like "/usr/lib64/libldap.so" > which isn't too definite about what we're using. > > Is there some other way to fingerprint the LDAP implementation? I would use ldap_get_option(LDAP_OPT_API_INFO), which gives you a vendor name string and a version number, among other information. ^ permalink raw reply [nested|flat] 3+ messages in thread
end of thread, other threads:[~2019-03-21 05:40 UTC | newest] Thread overview: 3+ messages (download: mbox mbox.gz follow: Atom feed) -- links below jump to the message on this page -- 2019-03-20 23:21 LDAP on AIX build farm animals Thomas Munro <thomas.munro@gmail.com> 2019-03-21 03:35 ` Tom Lane <tgl@sss.pgh.pa.us> 2019-03-21 05:40 ` Noah Misch <noah@leadboat.com>
This inbox is served by DDX for PostgreSQL; see mirroring instructions for how to clone and mirror all data and code used for this inbox