[Freeipa-users] ldap entry from an plugin

Martin Basti mbasti at redhat.com
Mon Jun 20 16:55:51 UTC 2016



On 20.06.2016 18:12, gheorghita.butnaru at tuiasi.ro wrote:
> Hello,
>
> I have an small plugin that adds two new fields in user details. Based on
> those, i need to make an new entry in directory, like i will do with
> ldapmodify for example ( http://pastebin.com/ZSEA64k8 )
>
> basically every time when an user modifies those new attrs i need to make
> an entry.
> i have an small function that takes the content of attr that was added by
> user in webUI. With that function i have all infos i want for my new
> entry:
> dn, cn, object classes, attr.
>
> how can i add those infos from that function to ldap?
>
> Thanks,
> Gheorghita
>
>
Hello, did you read this document how to extend freeIPA?

https://www.freeipa.org/images/5/5b/FreeIPA33-extending-freeipa.pdf




More information about the Freeipa-users mailing list