[PATCH] Make AD DC build require Jannsson JSON libs, fix fileserver without it

Jeremy Allison jra at samba.org
Fri Jun 22 16:44:32 UTC 2018


On Fri, Jun 22, 2018 at 04:04:18PM +0200, Björn Baumbach wrote:
> On 06/21/2018 09:00 PM, Andrew Bartlett via samba-technical wrote:
> > On Thu, 2018-06-21 at 12:56 +0200, Volker Lendecke wrote:
> >> Hi, Andrew!
> >>
> >> ./configure --prefix=/root/vlendec/inst --without-ldb-lmdb --without-json-audit --without-gpgme --without-libarchive
> >>
> >> leads to
> >> What am I doing wrong? Am I missing another configure switch?
> > No, but I think we should just require it for the DC. 
> 
> Hi!
> 
> I do not like the idea to enforce the libjansson as a requirement to
> build the Samba AD DC code.
> 
> I've added the --without-json-audit, because there are several systems
> where the jansson json libraries are not avaiable - at least not in the
> standard repositories.
> 
> I've just looked into the RHEL 6 and SLES 11 repositories - there is no
> libjansson available. Even SLES 11 and RHEL 6 are supported systems for
> the next 4 and 6 years. I would not like to loose the option to build a
> recent Samba AD DC on those systems.

I don't want the AD-DC code to be held back to the
requirements of much older systems. I'm OK with the
AD-DC requiring json for the auditing, so long as it's
no needed for the fileserver at the moment.

It's not a terrible burdon to have an extra list of
packages needed on top of SLES11 and RHEL6 for an AD-DC
IMHO. These distros don't support a Samba AD-DC themselves,
so it's OK to add extra packages for our own build use.

Jeremy.



More information about the samba-technical mailing list