Hi,
there were a few code changes between 2015 and today :)
You need to put the new py file in /usr/lib/python3.9/site-packages/ipaserver/plugins/ instead, and the import should read:
from ipaserver.plugins.user import user_add

HTH,
flo

On Wed, Dec 8, 2021 at 9:20 AM Vassiliy Kechin via FreeIPA-users <freeipa-users@lists.fedorahosted.org> wrote:
Hello

I want to change default user email format.
I tried this method on FreeIPA 4.9.6 and it's no longer works
https://listman.redhat.com/archives/freeipa-users/2015-August/msg00078.html

Can you recommend how to change default FreeIPA email format?

I use Centos 8 Stream add FreeIPA 4.9.6

Thanks in advance,
Vassiliy
_______________________________________________
FreeIPA-users mailing list -- freeipa-users@lists.fedorahosted.org
To unsubscribe send an email to freeipa-users-leave@lists.fedorahosted.org
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/freeipa-users@lists.fedorahosted.org
Do not reply to spam on the list, report it: https://pagure.io/fedora-infrastructure