Ticket 50026 - audit logs does not capture the operation where nsslapd-lookthroughlimit is modified
Bug Description:
During a dse update (config, schema,..) the dse callback will process the mods
but can also modify them (SLAPI_MODIFY_MODS) leaving only ignored attributes.
A consequence is that later audit logging will only log the ignored attributes.
Fix Description:
Save a copy of the orignal mods before the dse callback and restore them
when dse callback completes.
https://pagure.io/389-ds-base/issue/50026
Reviewed by: Ludwig Krispenz
Platforms tested: F27
Flag Day: no
Doc impact: no