Report information
The Basics
Id:
45010
Status:
new
Priority:
Medium/Medium
Queue:

People
Owner:
Nobody in particular
Cc:
AdminCc:

BugTracker
Version Fixed:
(no value)
Version Found:
(no value)
Versions Affected:
(no value)
Versions Planned:
(no value)
Priority:
(no value)
Severity:
(no value)
CVSS Score:
(no value)
CVE ID:
(no value)
Component:
(no value)
Area:
bug

Dates
Created:Mon, 03 Apr 2017 09:16:05 -0400
Updated:Wed, 28 Jun 2017 15:16:29 -0400
Closed:Not set



This bug tracker is no longer active.

Please go to our Gitlab to submit issues (both feature requests and bug reports) for active projects maintained by Internet Systems Consortium (ISC).

Due to security and confidentiality requirements, full access is limited to the primary maintainers.

Subject: DHCP server with ldap support cannot link dynamically against bind
Date: Mon, 3 Apr 2017 15:15:43 +0200
To: dhcp-bugs@isc.org
From: "Petr Menšík" <pemensik@redhat.com>
Hi ISC, there is problem with conflicting symbols. If dhcp server is configured --with-ldap and --disable-static, it will use getaddrinfo from glibc library. However if bind library is linked dynamically using --with-libtool, it will provide getaddrinfo symbol from irs library. If such bind library is used in --with-libbind in dhcp, it breaks the server. It compiles fine. However when started, recent openldap library will try to use hint=AI_ADDRCONFIG in getaddrinfo. See [1] Because bind implementation of lib/irs/getaddrinfo.c does no support such flag, it will always return failure. Do I miss a way to link dhcp with ldap support, while using only dynamic linking? I have already reported it as suggestion #44024. Is there other workaround than mentioned? Best Regards, Petr Menšík [1] https://www.openldap.org/devel/gitweb.cgi?p=openldap.git;a=blob;f=libraries/libldap/os-ip.c;h=c7cee927ad42dfb4412b72754fe47ae4d6a71541;hb=HEAD#l599