Bug 38364

Summary: Disallow name change for UCS systems in UMC
Product: UCS Reporter: Stefan Gohmann <gohmann>
Component: UMC - ComputersAssignee: Florian Best <best>
Status: CLOSED FIXED QA Contact: Daniel Tröder <troeder>
Severity: normal    
Priority: P5 CC: best, gulden, walkenhorst
Version: UCS 4.0   
Target Milestone: UCS 4.0-2-errata   
Hardware: Other   
OS: Linux   
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:
Bug Depends on:    
Bug Blocks: 39047    

Description Stefan Gohmann univentionstaff 2015-04-24 16:46:22 CEST
Feedback via #2015042221000171

It shouldn't be possible to change the computer name for computer/domaincontroller_* and computer/memberserver.
Comment 1 Florian Best univentionstaff 2015-05-28 17:00:34 CEST
What about moving?
Comment 2 Stefan Gohmann univentionstaff 2015-06-25 07:23:18 CEST
(In reply to Florian Best from comment #1)
> What about moving?

Good question. If we allow moving, we should show a info that a re-join is required. Would such a notification be possible?
Comment 3 Florian Best univentionstaff 2015-07-15 15:01:06 CEST
Renaming is now prevented by adding may_change=False in the property description.

Moving is still possible. A notification is not added. I will clone the bug soon. Feel free to reopen if this is wanted now.

univention-directory-manager-modules 10.0.31-4.1327.201507141126
Comment 4 Daniel Tröder univentionstaff 2015-07-30 12:23:49 CEST
OK: code changes (r62090, r62092)
OK: YAML (r62093)
OK: manual functional test: With 10.0.31-3 it is possible to rename a computer/{domaincontroller_*,memberserver} in UMC and with cmdline-udm. After an update to 10.0.31-4 it is not possible any more: field in UMC is disabled, cmdline-udm replies "Value may not change.: name" and does not change the name.
Comment 5 Janek Walkenhorst univentionstaff 2015-08-06 17:51:49 CEST
<http://errata.univention.de/ucs/4.0/278.html>