Bug 48896 - Add mailPrimaryAddress to demo users
Add mailPrimaryAddress to demo users
Status: CLOSED FIXED
Product: UCS@school
Classification: Unclassified
Component: General
unspecified
Other Mac OS X 10.1
: P5 normal (vote)
: UCS@school 5.0 v2
Assigned To: Carlos García-Mauriño
Ole Schwiegert
https://git.knut.univention.de/univen...
:
Depends on:
Blocks:
  Show dependency treegraph
 
Reported: 2019-03-07 14:59 CET by Michel Smidt
Modified: 2022-07-15 08:31 CEST (History)
5 users (show)

See Also:
What kind of report is it?: Feature Request
What type of bug is this?: ---
Who will be affected by this bug?: ---
How will those affected feel about the bug?: ---
User Pain:
Enterprise Customer affected?:
School Customer affected?:
ISV affected?:
Waiting Support:
Flags outvoted (downgraded) after PO Review:
Ticket number:
Bug group (optional): bitesize
Max CVSS v3 score:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Michel Smidt 2019-03-07 14:59:34 CET
It would be helpful to add a mailPrimaryAddress to the demo users (demo_student, demo_admin, demo_teacher)
Comment 1 Sönke Schwardt-Krummrich univentionstaff 2019-03-08 16:59:55 CET
Hint: IIRC the mailPrimaryAddress can only be set, if a mail domain object exists. And this mail domain object is available if univention-mail-server is somewhere installed within the domain.
Comment 2 Daniel Tröder univentionstaff 2019-03-11 08:47:07 CET
The UDM module mail/domain is part of UCS, no need for univention-mail-server.
We could create a mail/domain object for demoschool.example.com. Subdomains of example.com are AFAIK allowed and will not make any problems. Then we can create email addresses like: demo_student@.demoschool.example.com
Comment 3 Carlos García-Mauriño univentionstaff 2022-04-24 14:16:50 CEST
MR merged, package built (`13.0.13A~5.0.0.202204221510`) and advisory updated https://git.knut.univention.de/univention/ucsschool/-/commit/c5cd1deae5e1edd7698047c796ddff584dcb38e2.
Comment 4 Ole Schwiegert univentionstaff 2022-04-25 08:48:40 CEST
Package installs, changes work

--> VERIFIED
Comment 6 Carlos García-Mauriño univentionstaff 2022-04-29 17:09:43 CEST
I ran the tests that were failing in a VM and they pass now.
Comment 7 Daniel Tröder univentionstaff 2022-05-02 08:30:09 CEST
Still failing:

https://univention-dist-jenkins.k8s.knut.univention.de/job/UCSschool-5.0/job/Install%20Singleserver/40/Config=s4,TestGroup=base1,UCSRelease=testing/

I suggest to start that Jenkins job, but configure it to a) only run one of the failing sub-jobs (e.g. "s4,base1,public") and b) to not "halt".
Than you can log into the test machine after it has finished, and run the test there to see what is different to your test VM.
Comment 9 Tobias Wenzel univentionstaff 2022-05-03 09:48:31 CEST
all ok

https://univention-dist-jenkins.k8s.knut.univention.de/job/UCSschool-5.0/job/Install%20Singleserver/Config=s4,TestGroup=base1,UCSRelease=testing/42/


The problem was: 

The fix was correct and at the same time a changelog entry was missing. 
Because the previous version ...37 had not been built yet, this did not raise any errors.

Adding a new changelog entry fixed this issue.
Comment 10 Tobias Wenzel univentionstaff 2022-07-15 08:31:09 CEST
UCS@school 5.0 v2 has been released.

https://docs.software-univention.de/changelog-ucsschool-5.0v2-de.html

If this error occurs again, please clone this bug.