I guess I have caused a mess with the amount of emails sent.
So I will bring back in here the summed up points and also reply to your last mail.
Please update your github repository.
What do you mean? My repo has the latest source code changes, just no uploaded rpm
packages. I haven't created a release yet, as I would like to solve the points 2, 3
and maybe 4 (see below). Bu if you need the packages, I can of course create and upload
them, just let me know.
It is a mess. Please open a bug about boolean handling and I'll
see to fix all these places too.
Bug was opened under:
https://pagure.io/freeipa/issue/9171
So the first point is clear then and related to the submitted issue.
1. MailEnabled checkbox not loading looks like a bug to me. Other fields like
"mailAlias", "mailHomeDirectory" or even "mailAlias" work as
expected. I can save a value and it will be loaded into the filed after entering the
details view.
2. "mailAlias" is an interesting attributeType. It is used in both objectClases
"postfixBookMailAccount" and "postfixBookMailForward":
https://github.com/leonidas-o/freeipa-postfixbook-plugin/blob/e0943c52fa5...
https://github.com/leonidas-o/freeipa-postfixbook-plugin/blob/e0943c52fa5...
Does that mean for me, I have to use "add_missing_object_class(...)" for both
objectClasses in its mailalias.py file?
https://github.com/leonidas-o/freeipa-postfixbook-plugin/blob/e0943c52fa5...
3. As "mailAlias" is mandatory according to the schema (see second link above,
line 95 in "postfixBookMailForward" objectClass), how can I let it be generated
like the regular "mail" field is generated?
For example, "mail" is using "uid@domain", I think it would make sense
to use "firstname.lastname@domain" for "mailAlias". I couldn't
find the source code for the "mail" generation process.
4. Is there a way to say "mailAlias" values has to be unique across all users?