Univention Bugzilla – Bug 30852
Unjoin scripts for UCC
Last modified: 2014-06-12 09:20:10 CEST
It should be documented how UCC images can be removed from the list of registered images. (They are stored in cn=univention -> UCC -> Images)
Starting with UCS 3.2 UCS supports unjoin scripts: The image generation should create unjoin scripts which deregister the images.
*** Bug 30418 has been marked as a duplicate of this bug. ***
*** Bug 34502 has been marked as a duplicate of this bug. ***
As discussed with Moritz, an unjoin script has been added to univention-coporate-client-schema. It unregister all UCC images from LDAP. ucc-management-integration 2.0.8-1.70.201405081708 (svn 50029) Changelog: svn 50031 QA: Uninstall a current version of univention-corporate-client-schema on an UCC server and check whether all images are removed from LDAP.
The unjoin script should verify wheter it was executed on the last UCC server in the domain before removing the images from LDAP -> REOPENED
(In reply to Lukas Walter from comment #5) > The unjoin script should verify wheter it was executed on the last UCC > server in the domain before removing the images from LDAP -> REOPENED univention-corporate-client-schema join script will register an "UCC" service at the local host computer object, which will be unregistered in the unjoin script. If it was the last UCC service entry in the domain, the images are removed from LDAP as well. ucc-management-integration 2.0.8-2.71.201405091516 (svn 50093)
The following points have been adjusted: * The association with schema package was wrong as the schema package usually are not uninstalled. I moved the unjoin script into ucc-server. * From the developer's guide: "To reverse the order of the unjoin scripts in comparison to the corresponding join scripts, the number of the unjoin script should be 100 minus the number of the corresponding join script." ... and ... "As of UCS 3.1 .inst and .uinst are not distinguishable in the UMC Join module by the user. Therefore it is important to use the -uninstall suffix to give users a visual hint." → the unjoin script should be named 70univention-corporate-client-uninstall.uinst * As discussed, the unjoin script now only removes the service entry ucc-server (1.0.1-1): * Bug #30852: move unjoin script from integration package in ucc-server ucc-management-integration (2.0.11-1): * Bug #30852: move unjoin script into ucc-server package
Ok, the UCC service is correctly removed from the services list when uninstalling the UCC app.
UCC 2.0 has been released: http://docs.univention.de/release-notes-ucc-2.0.html If this error occurs again, please use "Clone This Bug".