Bug 32454 - Mail server unjoin script
Mail server unjoin script
Status: CLOSED FIXED
Product: UCS
Classification: Unclassified
Component: Mail
UCS 3.1
Other Linux
: P5 enhancement (vote)
: UCS 3.2
Assigned To: Lukas Walter
Janek Walkenhorst
: interim-3
Depends on:
Blocks: 30786
  Show dependency treegraph
 
Reported: 2013-09-02 09:10 CEST by Stefan Gohmann
Modified: 2013-11-19 06:44 CET (History)
1 user (show)

See Also:
What kind of report is it?: ---
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):
Max CVSS v3 score:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Stefan Gohmann univentionstaff 2013-09-02 09:10:33 CEST
An unjoin script for the mail server component is missing.
Comment 1 Lukas Walter univentionstaff 2013-10-15 14:16:59 CEST
Unjoin script added.

I will remove the SMTP service entry from the local host computer object and remove the cn=mail,$ldap_base container.


svn 45101: univention-mail-postfix (8.0.5-1)
Comment 2 Lukas Walter univentionstaff 2013-10-22 16:57:51 CEST
univention-mail-postfix (8.0.7-4) unstable; urgency=low

  * call unjoin script when removing, not purging (Bug #32454)


svn 45458
Comment 3 Sönke Schwardt-Krummrich univentionstaff 2013-10-30 08:32:17 CET
The unjoin script MUST NOT remove the mail domain objects. The mail domain objects are required to add mail addresses to user objects. If these mail domain objects are missing, the admin gets an error message for each user object that will be modified in UMC/CLI.

Sidenote:
Although comment 1 indicates that the cn=mail container will be removed - this is not the case (which is good!) The container should remain in LDAP after deinstallation of univention-mail-server.
Comment 4 Lukas Walter univentionstaff 2013-10-30 10:58:51 CET
(In reply to Sönke Schwardt-Krummrich from comment #3)
> The unjoin script MUST NOT remove the mail domain objects. The mail domain
> objects are required to add mail addresses to user objects. If these mail
> domain objects are missing, the admin gets an error message for each user
> object that will be modified in UMC/CLI.
> 
> Sidenote:
> Although comment 1 indicates that the cn=mail container will be removed -
> this is not the case (which is good!) The container should remain in LDAP
> after deinstallation of univention-mail-server.

Removal of the container has been taken out in a previous revision again.

I've modified the unjoin script again, it will now only remove the SMTP service flag from the local host.
Comment 5 Janek Walkenhorst univentionstaff 2013-10-31 16:26:58 CET
Service removal is all that is required: OK
Service is correctly removed: OK
Changelog: OK
Join scripts run automatically: OK
Join scripts run successfully: OK
Comment 6 Stefan Gohmann univentionstaff 2013-11-19 06:44:03 CET
UCS 3.2 has been released:
 http://docs.univention.de/release-notes-3.2-en.html
 http://docs.univention.de/release-notes-3.2-de.html

If this error occurs again, please use "Clone This Bug".