On 19 Sep 2020, at 01:15, Jan Tomasek <jan(a)tomasek.cz> wrote:
Hi William,
On 9/9/20 2:31 AM, William Brown wrote:
>> I need to keep track when and by whom was entryStatus attribute
>> modified. For those informations, we have two attributes
>> entryStatusTimestamp and entryStatusModifier attributes. And every time
>> entryStatus is changed, our plugin changes automatically those two
>> attributes.
>>
>> Is there any standard, or maybe some contributed plugin how I can
>> achieve this?
>
> Sadly, I can't think of anything that exists today that achieves what you want,
so I think you'll need to stick with this.
After some debugging I've identified the problem, it was not caused by
incompatibility with never 389DS, but by weird config syntax requiring
TAB characters. Which I lost during Copy&Paste. :(
In case anyone is interested I've published it:
https://github.com/CESNET/389ds-plugin-ssm
I can't say it's nice code and repository isn't clean, there are some
unused files related to OTP which was used at FEL CTU, in time strong
crypto export from USA to our country was prohibited. But still it might
be interesting for someone...
Thanks for making it public! It's not often that we get to see some of the cool
plugins that people make for 389, and the features they bring.
An interesting idea that could bring you a lot assurance, would be to integrate and test
with Address Sanitiser. This would help you find and detect potential memory safety issues
in the plugin. If you want some advice on how to do this, I'm happy to help.
Thanks!
—
Sincerely,
William Brown
Senior Software Engineer, 389 Directory Server
SUSE Labs