Re: libldap 2.4.48 compability (was: RE24 testing call)

2019-06-25 Thread Quanah Gibson-Mount
--On Tuesday, June 25, 2019 5:16 PM +0200 Michael Ströder 
 wrote:



Any idea how I could find out what's going wrong? dhcpd seems to
dynamically link libldap 2.4.48 but fails to properly use it.


Can you step through it with something like gdb?  Looking at the CHANGES 
file, I don't see anything obvious, unless you disabled IPv6 during 
compilation and its trying to use an IPv6 address (ITS#8754) or 
AI_ADDRCONFIG does odd things on your system (ITS#7326).


--Quanah

--

Quanah Gibson-Mount
Product Architect
Symas Corporation
Packaged, certified, and supported LDAP solutions powered by OpenLDAP:





Re: libldap 2.4.48 compability (was: RE24 testing call)

2019-06-25 Thread Michael Ströder
On 6/25/19 4:10 PM, Howard Chu wrote:
> Michael Ströder wrote:
>> For my understanding: Does 2.4.48 require applications linked to libldap
>> to be rebuilt or is it ABI compatible?
> 
> There should be no ABI changes.

Thanks for the confirmation.

>> But dhcpd (using LDAP as backend) refuses to correctly start when using
>> libldap 2.4.48. It says "Can't contact LDAP server" although the server
>> is reachable. Looking at its strace output and slapd syslog dhcpd does
>> not even try connecting to slapd. After reinstalling libldap 2.4.47
>> everything works again.

Any idea how I could find out what's going wrong? dhcpd seems to
dynamically link libldap 2.4.48 but fails to properly use it.

Ciao, Michael.



Re: libldap 2.4.48 compability (was: RE24 testing call)

2019-06-25 Thread Howard Chu
Michael Ströder wrote:
> On 6/22/19 10:08 PM, Quanah Gibson-Mount wrote:
>> --On Saturday, June 22, 2019 11:24 AM +0200 Michael Ströder
>>  wrote:
>>
>>> Furthermore I've generated RPM packages of this snapshot [1] and did
>>> some short tests with Æ-DIR which uses a combination of many different
>>> overlays. For now it seems to work just fine.
>>
>> Thanks for the extended testing Michael!
> 
> For my understanding: Does 2.4.48 require applications linked to libldap
> to be rebuilt or is it ABI compatible?

There should be no ABI changes.
> 
> In most of my tests I can use 2.4.48 as binary drop-in replacement for
> 2.4.47. For this to work I've patched away the "releng" suffix. [1]
> 
> But dhcpd (using LDAP as backend) refuses to correctly start when using
> libldap 2.4.48. It says "Can't contact LDAP server" although the server
> is reachable. Looking at its strace output and slapd syslog dhcpd does
> not even try connecting to slapd. After reinstalling libldap 2.4.47
> everything works again.
> 
> It's not a big deal because in this packaged environment everything gets
> rebuilt anyway if OpenLDAP upgrade is pushed. But I want to make sure I
> fully understand everything and there's no issue left e.g. by
> introducing openldap.h.
> 
> Ciao, Michael.
> 
> [1]
> https://build.opensuse.org/package/view_file/home:stroeder:branches:home:stroeder:AE-DIR/openldap2/openldap-no-releng.diff?expand=1
> 
> 


-- 
  -- Howard Chu
  CTO, Symas Corp.   http://www.symas.com
  Director, Highland Sun http://highlandsun.com/hyc/
  Chief Architect, OpenLDAP  http://www.openldap.org/project/



libldap 2.4.48 compability (was: RE24 testing call)

2019-06-25 Thread Michael Ströder
On 6/22/19 10:08 PM, Quanah Gibson-Mount wrote:
> --On Saturday, June 22, 2019 11:24 AM +0200 Michael Ströder
>  wrote:
> 
>> Furthermore I've generated RPM packages of this snapshot [1] and did
>> some short tests with Æ-DIR which uses a combination of many different
>> overlays. For now it seems to work just fine.
> 
> Thanks for the extended testing Michael!

For my understanding: Does 2.4.48 require applications linked to libldap
to be rebuilt or is it ABI compatible?

In most of my tests I can use 2.4.48 as binary drop-in replacement for
2.4.47. For this to work I've patched away the "releng" suffix. [1]

But dhcpd (using LDAP as backend) refuses to correctly start when using
libldap 2.4.48. It says "Can't contact LDAP server" although the server
is reachable. Looking at its strace output and slapd syslog dhcpd does
not even try connecting to slapd. After reinstalling libldap 2.4.47
everything works again.

It's not a big deal because in this packaged environment everything gets
rebuilt anyway if OpenLDAP upgrade is pushed. But I want to make sure I
fully understand everything and there's no issue left e.g. by
introducing openldap.h.

Ciao, Michael.

[1]
https://build.opensuse.org/package/view_file/home:stroeder:branches:home:stroeder:AE-DIR/openldap2/openldap-no-releng.diff?expand=1