Hmmm, still getting an error (Broken pipe), maybe because the schema package is no longer installed.
Anyway, I have for the most part acheived my goal which is get rid of the Kopano menu in the Users module.
For anyone who comes up on this issue in the future, here is what I did, this may or may not work in every circumstance and I take no responsibility for it breaking your system:
-
Go through each user account and ensure that the ‘Kopano Role’ field is empty
-
Remove any Kopano Contacts and Kopano Groups
-
Run ‘univention-ldapsearch | grep kopano’ at the CLI and make sure that there are no users with kopanoAccount set to 1, likewise ensure there are no groups and contacts in the results
-
Uninstall Kopano from the Kopano server in the following order: Kopano Z-push, Kopano Web App, Kopano Core
-
On the DCs, uninstall kopano4ucs-lib, kopano4ucs-schema and kopano4ucs-udm via Package Management
-
Run ‘apt purge kopano4ucs-lib’, ‘apt purge kopano4ucs-schema’ and ‘apt purge kopano4ucs-udm’ at the CLI
-
Reboot the DCs
-
In the LDAP module remove the following entries:
domain > kopano > contacts
domain > kopano > non-active
domain > kopano
domain > Kopano Address Lists
domain > univention > apps > kopano
domain > univention > apps > z-push-kopano
domain > univention > custom attributes > kopano
After carrying out the above, I am still left with some errant kopano entries in the univention-ldapsearch and I am unable to remove the /var/lib/univention-ldap/local-schema/kopano4ucs.schema file as ‘slapschema’ throws a config error, however, the Kopano menu items in the Users and Groups modules are now no longer.
The left over kopano attributes / objectClasses appear to be tied to the user accounts and (on my system at least) are:
sudo univention-ldapsearch | grep kopano
kopanoSharedStoreOnly: 0
objectClass: kopano-user
kopanoAccount: 0
kopanoAdmin: 0
kopanoAdmin: 0
kopanoSharedStoreOnly: 0
objectClass: kopano-user
kopanoAccount: 0
kopanoAdmin: 0
kopanoSharedStoreOnly: 0
objectClass: kopano-user
kopanoAccount: 0
kopanoAdmin: 0
kopanoSharedStoreOnly: 0
objectClass: kopano-user
kopanoAccount: 0
kopanoAccount: 0
kopanoAdmin: 0
kopanoSharedStoreOnly: 0
objectClass: kopano-user
kopanoAdmin: 0
kopanoSharedStoreOnly: 0
objectClass: kopano-user
kopanoAccount: 0
kopanoAccount: 0
kopanoAdmin: 0
kopanoSharedStoreOnly: 0
objectClass: kopano-user