[yocto] [meta-security][PATCH 2/5] libldb: work around samba libldb packaging issues

Adrian Bunk bunk at stusta.de
Fri Mar 29 05:58:07 PDT 2019

On Fri, Mar 29, 2019 at 08:50:14AM +0200, Adrian Bunk wrote:
> On Thu, Mar 28, 2019 at 10:28:18PM -0700, Armin Kuster wrote:
> > Samba and libldb overlap in a few places. This is the simplest fix for
> > now.
> Adding a quick hack for interaction problems between two packages
> that are both in meta-openembedded by adding a .bbappend in 
> meta-security creates a technical debt while not even helping
> users who are not using meta-security.
> The proper solution is likely to make samba use the external libldb 
> instead of an internal copy.

commit a001e465293b36c03d4ca4500857fe0a67d13e20
Date:   Fri Jul 27 14:09:10 2018 -0700

    samba: Update to 4.8.3
    LDB 1.4.0 breaks Samba < 4.9 therefore use internal version

So the root cause is that last summer LDB in meta-openembedded was 
updated to a version not compatible with with the Samba version in 

As workaround Samba was changed to use the internal version
of the library.

What is now proposed is a workaround to fix a regression caused
by the first workaround.

The best way forward would be to upgrade Samba to 4.9 or 4.10 and
use the external LDB again.



       "Is there not promise of rain?" Ling Tan asked suddenly out
        of the darkness. There had been need of rain for many days.
       "Only a promise," Lao Er said.
                                       Pearl S. Buck - Dragon Seed

More information about the yocto mailing list