Univention Bugzilla – Bug 43671
UDM hooks for computers are needed to adjust the links in portal.json
Last modified: 2017-07-07 09:55:38 CEST
When a computer changes its IP address (or more drastically, its hostname), the links in settings/portal_entry will not work. The links are absolute for easy dumping and zero LDAP lookups in the listener. Yet, the links have to be regenerated (but only the relevant values!) in /usr/share/univention-portal/portal.json "entries": [{..., "links": ["https://10.200.4.50/owncloud", "https://master50.dirk.singlemaster.intranet/owncloud"]} If master50 decides to change his IP to 10.200.4.60, the first link needs to be exchanged. If the App happens to be installed on 2 computers, there may be 4 entries! The UDM hook may only touch 2 of them. +++ This bug was initially created as a clone of Bug #42175 +++ There should be a graphical user interface to add links to the new portal site.
I added the possibility to make substring matches in the LdapReplace part of univention-system-setups net scripts. There, i added a template to modify objects of udm type settings/portal_entry if an ip address has changes r79392 univention-system-setup 10.0.10-16A~4.2.0.201705171251 r79393 yaml
Code: OK YAML: OK
<http://errata.software-univention.de/ucs/4.2/50.html>