José Luís wrote: > Thanks for your answer Rob, > > The code I quote is from Alexander Bokovoy > <https://listman.redhat.com/archives/freeipa-users/2015-August/msg00078.html>. > > Sorry, what you mean by "You're trying to use code for a much older > version"? Is there any other way more sophisticated?
It's not necessarily safe to assume the API hasn't changed in six years. In this case it looks ok. Just drop it into ipaserver/plugins instead, restart httpd and it should work. rob > > If yes, let me know please, I'm a complete newbie in FreeIPA. > > Thanks. > > Rob Crittenden via FreeIPA-users <[email protected] > <mailto:[email protected]>> escreveu no dia terça, > 16/03/2021 à(s) 23:02: > > Carlos Queen via FreeIPA-users wrote: > > Hello everyone, > > > > I want to change my email format and I searched out, I found an > instruction that uses a piece of python code in > /usr/lib/python2.7/site-packages/ipalib/plugins/, problem is that my > ipa server version is 4.6.8 and API 2.237 and it has not the > directory plugins. > > > > My question is: It is not possible to add plugins in this version? > Is there any other way to customize anything in freeipa? > > > > I hope you guys help me, thanks in advance. > > You're trying to use code for a much older version. It still might work > though. The plugins were moved to > <python_dir>/site-packages/ipaserver/plugins > > It would also help if you shared where you found the code and what > exactly you're trying to do. > > rob > _______________________________________________ > FreeIPA-users mailing list -- [email protected] > <mailto:[email protected]> > To unsubscribe send an email to > [email protected] > <mailto:[email protected]> > Fedora Code of Conduct: > https://docs.fedoraproject.org/en-US/project/code-of-conduct/ > List Guidelines: https://fedoraproject.org/wiki/Mailing_list_guidelines > List Archives: > > https://lists.fedorahosted.org/archives/list/[email protected] > Do not reply to spam on the list, report it: > https://pagure.io/fedora-infrastructure > _______________________________________________ FreeIPA-users mailing list -- [email protected] To unsubscribe send an email to [email protected] Fedora Code of Conduct: https://docs.fedoraproject.org/en-US/project/code-of-conduct/ List Guidelines: https://fedoraproject.org/wiki/Mailing_list_guidelines List Archives: https://lists.fedorahosted.org/archives/list/[email protected] Do not reply to spam on the list, report it: https://pagure.io/fedora-infrastructure
