[389-users] Re: Auto add attributes when entries are created

2018-11-18 Thread Olivier JUDITH
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 page.
From  my understanding i have to call SLAPI_PLUGIN_POST_ADD_FN , right ?. 

If a use CoS template can i add a specific value.  I would like to add a 
generated value into this attributes.

I'll come back to you for your advises. 

Thank again !!
___
389-users mailing list -- 389-users@lists.fedoraproject.org
To unsubscribe send an email to 389-users-le...@lists.fedoraproject.org
Fedora Code of Conduct: https://getfedora.org/code-of-conduct.html
List Guidelines: https://fedoraproject.org/wiki/Mailing_list_guidelines
List Archives: 
https://lists.fedoraproject.org/archives/list/389-users@lists.fedoraproject.org


[389-users] Re: Auto add attributes when entries are created

2018-11-18 Thread William Brown
On Sun, 2018-11-18 at 21:44 +, Olivier JUDITH wrote:
> Hi , 
> 
> I would like to add 2 new attributes to every new created entries in
> my 389 servers . In these attributes i would to add calculated values
> for initial users information .
> Is it possible to do that without developping a new plugin ?
> In case i have to write a new pluggins which languages 389 supports 
> Does something like triggers in BDD exist in 389 ? 

At the moment we don't have a plugin like this, but I think it would be
valuable to have one. Most of our plugins today are in C, but we want
to support Rust in the future.

You could do this with CoS templates instead as an option.

If you do go down the plugin route, I'd be happy to help advise and
assist in the process :) feel free to email me directly if you want to
work on this, 

Thanks,



> ___
> 389-users mailing list -- 389-users@lists.fedoraproject.org
> To unsubscribe send an email to 
> 389-users-le...@lists.fedoraproject.org
> Fedora Code of Conduct: https://getfedora.org/code-of-conduct.html
> List Guidelines: 
> https://fedoraproject.org/wiki/Mailing_list_guidelines
> List Archives: 
> https://lists.fedoraproject.org/archives/list/389-users@lists.fedoraproject.org
-- 
Sincerely,

William
___
389-users mailing list -- 389-users@lists.fedoraproject.org
To unsubscribe send an email to 389-users-le...@lists.fedoraproject.org
Fedora Code of Conduct: https://getfedora.org/code-of-conduct.html
List Guidelines: https://fedoraproject.org/wiki/Mailing_list_guidelines
List Archives: 
https://lists.fedoraproject.org/archives/list/389-users@lists.fedoraproject.org


[389-users] Auto add attributes when entries are created

2018-11-18 Thread Olivier JUDITH
Hi , 

I would like to add 2 new attributes to every new created entries in my 389 
servers . In these attributes i would to add calculated values for initial 
users information .
Is it possible to do that without developping a new plugin ?
In case i have to write a new pluggins which languages 389 supports 
Does something like triggers in BDD exist in 389 ? 
___
389-users mailing list -- 389-users@lists.fedoraproject.org
To unsubscribe send an email to 389-users-le...@lists.fedoraproject.org
Fedora Code of Conduct: https://getfedora.org/code-of-conduct.html
List Guidelines: https://fedoraproject.org/wiki/Mailing_list_guidelines
List Archives: 
https://lists.fedoraproject.org/archives/list/389-users@lists.fedoraproject.org