Univention Bugzilla – Bug 40472
Minus in hostname should be valid
Last modified: 2019-02-05 21:50:24 CET
I think we can change a hostname in the Jenkins setup. +++ This bug was initially created as a clone of Bug #36034 +++ Found at #2014092921000445: ucs-school-lib/python/models/attributes.py overrides the valid syntax for hostnames: regex = re.compile('^[a-zA-Z0-9](([a-zA-Z0-9_]*)([a-zA-Z0-9]$))?$') This is wrong! "-" in hostnames is also valid. This leads to unseen erros if a new school dc contains a "-" and the install wizard is used. It just fails without any menaingful error message.
This issue has been filled against UCS@school 3. The maintenance with bug and security fixes for the last UCS@school version for UCS 3.x (→ UCS@school 3.2) has ended on Dec 31, 2016. Customers still on UCS 3.x are encouraged to update to UCS 4.3 (or later). Please contact your partner or Univention for any questions. If this issue still occurs in newer UCS versions, please use "Clone this bug" or simply reopen the issue. In this case please provide detailed information on how this issue is affecting you.