[PATCH] Use correct memory context for messaging context for ldb audit

Gary Lockyer gary at catalyst.net.nz
Mon Jun 25 18:58:28 UTC 2018


Looks good to me RB+

Gary.

On 25/06/18 16:50, Andrew Bartlett via samba-technical wrote:
> G'Day Gary,
> 
> The attached patch ensures the messaging context you use to send audit
> messages to the test script is destroyed at the end of the ldb
> lifetime, not the overall event context.
> 
> For now, we continue to feed the messaging code the outside event
> context.  Hopefully that is OK, because it won't be calling
> tevent_loop(), and this saves setting it back up each transaction.
> 
> Also I've re-named some structures and variables in a second patch
> here, to be more consistent with the rest of Samba's modules.  Please
> take a look.
> 
> CI: https://gitlab.com/catalyst-samba/samba/pipelines/24476085
> 
> Please review and push!
> 
> Thanks,
> 
> Andrew Bartlett
> 

-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 473 bytes
Desc: OpenPGP digital signature
URL: <http://lists.samba.org/pipermail/samba-technical/attachments/20180626/607c30a3/signature.sig>


More information about the samba-technical mailing list