On to, 13 syys 2018, Henrik Johansson via FreeIPA-users wrote:
Hi,
I am going to migrate an existing environment to FreeIPA 4.5. The
current LDAP has a few site-specific attributes and I have been trying
to figure out how I add these in an easy was that also keeps them when
upgrading etc.
I was thinking that making them optional would allow us to ad them
without expanding the IPA web-interface. But which is the best way to
place the additional LDIF file for extending the schema, I have read
different location and some documentation point to using ldapmodify
directly and most of the stuff I find regarding this is from 2014 or
earlier so I’m unsure if it’s still relevant.
https://github.com/abbra/freeipa-userstatus-plugin is kind of canonical
example I made to demonstrate how to extend a schema, a CLI, and a web
UI, in addition to packaging this properly for an RPM-based
distribution. It is a fully-working plugin.
--
/ Alexander Bokovoy
Sr. Principal Software Engineer
Security / Identity Management Engineering
Red Hat Limited, Finland