yes i did, started from there.

i have two new fields in user details and works as expected.
now, based on those new entries i need to make an entry in ldap like this

dn: cn=userid, cn=, cn=shared_net_name,
cn: userid
objectClass: top
objectClass: dhcpHost
objectClass: dhcpOptions
dhcpHWAddress: ethernet 00:a0:78:8e:9e:aa

shared_net_name, dhcpHWAddress - added by users in those new fields.
I was thinking that i can do it on the same plugin file but i don't know
how exactly how to do it
> On 20.06.2016 18:12, 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 ( )
>> 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?

Manage your subscription for the Freeipa-users mailing list:
Go to for more info on the project

Reply via email to