Hello,
Thanks Mark and Rich for your reviews !!
Rereading the comments I found a different fix, that instead of fixing 'plugin_setup' (that is common to plugin init and slapi_register_plugin), I made the fix only on slapi_register_plugin where the precedence was forced to a default value. Please let me know if you prefer the previous fix or the second.
https://fedorahosted.org/389/attachment/ticket/47699/0003-Ticket-ticket47699...
389-devel@lists.fedoraproject.org