Hi Ondøej,


My understanding was a sessionlog was required to record delete events, to efficiently generate a Delete phase? The server has been configured with `olcSpSessionlog: 10000` since long before I inherited it, and the consumer seems to be processing the transmitted Delete phase as expected.




From: Ondøej Kuzník <ondra@mistotebe.net>
Date: Wednesday, 9 March 2022 at 19:23
To: Lisa Parratt <Lisa.Parratt@bjss.com>
Cc: Quanah Gibson-Mount <quanah@fast-mail.org>, openldap-technical@openldap.org <openldap-technical@openldap.org>
Subject: Re: syncprov olcSpNoPresent not being honoured

On Wed, Mar 09, 2022 at 04:42:17PM +0000, Lisa Parratt wrote:
> Hi Ondøej,
> A byzantine java application connects to the LDAP server, and somehow
> uses the information presented to trigger API requests to business
> logic, eventually resulting in the data being replicated to a
> relational database. If olcSpNoPresent is honoured, this works. It
> it’s ignored, it dies with an error.  I have, as yet, been unable to
> find an engineer who can explain this behaviour to me, and this code
> is largely forgotten.
> It seems reasonable to me that if I configure slapd to not do a
> Present phase, then it shouldn’t do a Present phase? Am I wrong?

The question was, is there a reason why you also configure a sessionlog
when to me it seems you're saying you'd be perfectly happy without
(ignoring any deletes)?

Ondøej Kuzník
Senior Software Engineer
Symas Corporation                       http://www.symas.com
Packaged, certified, and supported LDAP solutions powered by OpenLDAP

The information included in this email and any files transmitted with it may contain information that is confidential and it must not be used by, or its contents or attachments copied or disclosed to, persons other than the intended addressee. If you have received this email in error, please notify BJSS. In the absence of written agreement to the contrary BJSS' relevant standard terms of contract for any work to be undertaken will apply. Please carry out virus or such other checks as you consider appropriate in respect of this email. BJSS does not accept responsibility for any adverse effect upon your system or data in relation to this email or any files transmitted with it. BJSS Limited, a company registered in England and Wales (Company Number 2777575), VAT Registration Number 613295452, Registered Office Address, 1 Whitehall Quay, Leeds, LS1 4HR