[Freeipa-users] ldap entry from an plugin

gheorghita.butnaru at tuiasi.ro gheorghita.butnaru at tuiasi.ro
Mon Jun 20 16:12:14 UTC 2016


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





More information about the Freeipa-users mailing list