Friday, September 18, 2020

[389-users] Re: A plugin to record modification timestamp and modifiers DN for specific attribute

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...

Best regards
--
-----------------------
Jan Tomasek aka Semik
http://www.tomasek.cz/

No comments:

Post a Comment