Received: from malur.postgresql.org ([217.196.149.56]) by arkaria.postgresql.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_CBC_SHA1:256) (Exim 4.89) (envelope-from ) id 1h6qRZ-0003SX-7b for pgsql-general@arkaria.postgresql.org; Thu, 21 Mar 2019 05:40:45 +0000 Received: from localhost ([127.0.0.1] helo=malur.postgresql.org) by malur.postgresql.org with esmtp (Exim 4.89) (envelope-from ) id 1h6qRX-0004h1-UG for pgsql-general@arkaria.postgresql.org; Thu, 21 Mar 2019 05:40:43 +0000 Received: from makus.postgresql.org ([2001:4800:3e1:1::229]) by malur.postgresql.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_CBC_SHA1:256) (Exim 4.89) (envelope-from ) id 1h6qRX-0004gM-9q for pgsql-general@lists.postgresql.org; Thu, 21 Mar 2019 05:40:43 +0000 Received: from mail-pg1-x544.google.com ([2607:f8b0:4864:20::544]) by makus.postgresql.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_CBC_SHA1:256) (Exim 4.89) (envelope-from ) id 1h6qRP-0003px-PO for pgsql-general@postgresql.org; Thu, 21 Mar 2019 05:40:41 +0000 Received: by mail-pg1-x544.google.com with SMTP id v1so3468737pgi.5 for ; Wed, 20 Mar 2019 22:40:35 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=leadboat.com; s=google; h=date:from:to:cc:subject:message-id:references:mime-version :content-disposition:in-reply-to:user-agent; bh=ykGDo+9GslIWrbcadrWn1tpYtBUSjJvaFXg9pGmZpjE=; b=fbeGQoeSBz1UiFGoFw4lbn5onv8YTc9vf056noXvwMk6SlZINQFNXNL8P2BkwLj+YL bNYNe9/VnoH27ItHqYb0nLw39nH2LYRALr57BbZdKUm3qPi7DDsEHktHd3mHbfuKdevz nRM7/5GqnCy0D853fc9QZmWefnjNUatu3PKYI= X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:date:from:to:cc:subject:message-id:references :mime-version:content-disposition:in-reply-to:user-agent; bh=ykGDo+9GslIWrbcadrWn1tpYtBUSjJvaFXg9pGmZpjE=; b=mzK628abHWxZndF42peEyKz+D+kCPV+XSHYy3izND1OYQ9oNk7MblJTKSfefixLyLg rHwZwcfJzoXTTjBLw21lwsDaIYSGejX6w2E2+UwI238w1bPysKljA9pTBTL/jGbEC0eM 9c17dSt7SU4jhhi4nDnh+s1BprZkVU/L55bkyrC05GqdZO4wcdVpk6GUd5xyqkXosJHw 09YeSCD8Wq4Q381cWCRSfOcvD/oEjD+7S43JmxpUB2yGd5yePJPDtvpwoiGYlxzrblsU 0uyOK9ANpQOWr7pagHls5WhHDcN6OjZ+pU4k3Qh1JNqkhIspySy/KiKg/1XMY1ZAgR7X 0eZQ== X-Gm-Message-State: APjAAAULDspGhtHGwu/X+ajrqTfOpyHJhHBIku+9DghGOZsHKtIofYgB PYGibbpn5M2S20Fv/iEHj9YvdQ== X-Google-Smtp-Source: APXvYqzY/7ntaYYGldLTtq/MBjtGxzAzg+bhyr5mXfM7/mhSemn5+IvI6BGzhyZocWF2IdkdKx2qSg== X-Received: by 2002:a17:902:248:: with SMTP id 66mr1783371plc.286.1553146834445; Wed, 20 Mar 2019 22:40:34 -0700 (PDT) Received: from rfd.leadboat.com (108-233-125-46.lightspeed.sntcca.sbcglobal.net. [108.233.125.46]) by smtp.gmail.com with ESMTPSA id x23sm2439652pfa.36.2019.03.20.22.40.31 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Wed, 20 Mar 2019 22:40:32 -0700 (PDT) Date: Wed, 20 Mar 2019 22:40:30 -0700 From: Noah Misch To: Tom Lane Cc: Thomas Munro , pgsql-general Subject: Re: LDAP on AIX build farm animals Message-ID: <20190321054030.GA3842129@rfd.leadboat.com> References: <22576.1553139339@sss.pgh.pa.us> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <22576.1553139339@sss.pgh.pa.us> User-Agent: Mutt/1.5.24 (2015-08-30) List-Id: List-Help: List-Subscribe: List-Post: List-Owner: List-Archive: Precedence: bulk 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%3A35&stg=config On Wed, Mar 20, 2019 at 11:35:39PM -0400, Tom Lane wrote: > Thomas Munro 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.