[PATCH] build: add option to choose to build with or without JSON audit support

Andrew Bartlett abartlet at samba.org
Thu May 3 20:23:30 UTC 2018

On Thu, 2018-05-03 at 21:47 +0200, Volker Lendecke wrote:
> On Thu, May 03, 2018 at 08:27:08PM +1200, Andrew Bartlett via samba-technical wrote:
> > On Thu, 2018-05-03 at 09:22 +0100, Rowland Penny via samba-technical
> > wrote:
> > > 
> > > I feel, 'Samba was not compiled with --without-json-audit' is clearer
> > 
> > Thanks Rowland.  I agree, but I have to make that true first.  A task
> > for Monday (I hope to slay LMDB tomorrow). 
> I might be late in the game. I just tried to compile --without-ad-dc,
> but still get a link dependency against libjansson. What is that used
> for without having an Active Directory Domain Controller even
> compiled? Why is libjansson a strict dependency in that case? Are we
> using it for other things now also?

The audit logging was added for the file server and NT4 DC as well.  

The testing and coverage is comprehensive for the AD DC, but where the
same paths are used (and where it wasn't hard to add) the file server
and NT4 DC wasn't left out.  

My hope is that this can be quite helpful in monitoring large

Andrew Bartlett

Andrew Bartlett                       http://samba.org/~abartlet/
Authentication Developer, Samba Team  http://samba.org
Samba Developer, Catalyst IT          http://catalyst.net.nz/services/samba

More information about the samba-technical mailing list