On 19 Nov 2018, at 09:30, Olivier JUDITH <gnulux(a)gmail.com>
Thank you for your reply.
I'm not a C developer and i prefer Python but i'll try to write my plugin.
It's a challenge for me I started to read plugins development documentation on Redhat
From my understanding i have to call SLAPI_PLUGIN_POST_ADD_FN , right ?.
It’s a bit more than that. You have to call that function to register your function
pointer. After that our server framework will call your function many times (threaded so
in parallel too!). There is some more boilerplate around it too, but that’s the core of
Also I’d probably do this as a “SLAPI_PLUGI_PRE_ADD_BETXN_FN”. That means it happens
before the entry is commited to the database, and it happens within the write transaction
so it’s properly able to be rolled back and such. We’d need to work out how to make the
schema check pass for this situation however … (SLAPI_PLUGIN_PRE_ADD_FN could be before
If a use CoS template can i add a specific value. I would like to add a generated value
into this attributes.
CoS allows you to add a specific value to any entry matching a filter condition. So I
think this may do exactly what you want. The only difference is CoS is “in memory” so all
servers must be configured the same way to support it.
I'll come back to you for your advises.
Thank again !!
389-users mailing list -- 389-users(a)lists.fedoraproject.org
To unsubscribe send an email to 389-users-leave(a)lists.fedoraproject.org
Fedora Code of Conduct: https://getfedora.org/code-of-conduct.html
List Guidelines: https://fedoraproject.org/wiki/Mailing_list_guidelines