Bug 37389 - renaming windowscomputer in UMC/UDM -> s4 connector traceback
renaming windowscomputer in UMC/UDM -> s4 connector traceback
Status: RESOLVED WONTFIX
Product: UCS
Classification: Unclassified
Component: S4 Connector
UCS 4.0
Other Linux
: P5 normal (vote)
: ---
Assigned To: Samba maintainers
:
Depends on:
Blocks:
  Show dependency treegraph
 
Reported: 2014-12-18 11:27 CET by Felix Botner
Modified: 2019-01-03 07:18 CET (History)
3 users (show)

See Also:
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:
best: Patch_Available+


Attachments
udm_computer_rename.patch (1.28 KB, patch)
2014-12-18 11:28 CET, Felix Botner
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Felix Botner univentionstaff 2014-12-18 11:27:30 CET
Since we no longer allow renaming of windowscomputer objects in UDM/UMC with Bug #31083 this is maybe no longer relevant, nevertheless there is a problem

Renaming a object are two operations in LDAP, modrdn (rename) and modfiy (set new cn). The s4 connector fails to handle the modrdn operation. The object is not renamed in S4. But the next operation is the modify of cn. Since this is the rdn attribute, it is not allowed to changed the cn if the object was not renamed in the first place. This results in a rejected object with such a traceback

     result = func(*args,**kwargs)
NOT_ALLOWED_ON_RDN: {'info': "00002016: Modify of RDN 'cn' on cn=virt16,cn=computers,dc=ad,dc=in,dc=x,dc=de not permitted, must use 'rename' operation instead", 'desc': 'Operation not allowed on RDN'}

Arvid provided a patch for the connector to fix the "rename handling".
Comment 1 Felix Botner univentionstaff 2014-12-18 11:28:05 CET
Created attachment 6553 [details]
udm_computer_rename.patch
Comment 2 Arvid Requate univentionstaff 2016-03-23 18:35:51 CET
> Since we no longer allow renaming of windowscomputer objects in UDM/UMC with Bug #31083 this is maybe no longer relevant

Is this Bug still relevant? Bug 31083 Comment 10 states that we actually didn't disable the modification of the computer name in UMC/UDM, because this caused problems in the S4 connector. But you fixed the renaming in UDM/UMC via that bug, so I guess this one is a duplicate now?
Comment 3 Stefan Gohmann univentionstaff 2019-01-03 07:18:27 CET
This issue has been filled against UCS 4.0. The maintenance with bug and security fixes for UCS 4.0 has ended on 31st of May 2016.

Customers still on UCS 4.0 are encouraged to update to UCS 4.3. 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.