Bug 33566

Summary: Move of sub ou with RSAT tools leads to rejects
Product: UCS Reporter: Stefan Gohmann <gohmann>
Component: UDM (Generic)Assignee: Stefan Gohmann <gohmann>
Status: CLOSED FIXED QA Contact: Dirk Wiesenthal <wiesenthal>
Severity: normal    
Priority: P5 CC: gohmann, jmm, meybohm
Version: UCS 3.1   
Target Milestone: UCS 3.1-1-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: 33482, 34266    
Bug Blocks:    

Description Stefan Gohmann univentionstaff 2013-11-26 07:33:05 CET
Backport to UCS 3.1-1-errata.

+++ This bug was initially created as a clone of Bug #33482 +++

I've creates ou=users,ou=MSWATT,<base> containing some users and an empty ou=NoWatt,<base>. With RSAT tools I moved ou=users,ou=MSWATT,<base> to ou=NoWatt,<base>:

20.11.2013 10:45:05,663 LDAP        (PROCESS): sync to ucs:   [            ou] [      move] OU=users,ou=nowatt,dc=testing,dc=tim
20.11.2013 10:45:05,737 LDAP        (ERROR  ): Unknown Exception during sync_to_ucs
20.11.2013 10:45:05,759 LDAP        (ERROR  ): Traceback (most recent call last):
  File "/usr/lib/pymodules/python2.6/univention/s4connector/__init__.py", line 1306, in sync_to_ucs
    result = self.move_in_ucs(property_type, object, module, position)
  File "/usr/lib/pymodules/python2.6/univention/s4connector/__init__.py", line 1196, in move_in_ucs
    ucs_object.move(object['dn'])
  File "/usr/lib/pymodules/python2.6/univention/admin/handlers/__init__.py", line 396, in move
    subobject.move(subnewdn)
  File "/usr/lib/pymodules/python2.6/univention/admin/handlers/__init__.py", line 358, in move
    raise univention.admin.uexceptions.ldapError, _('Moving not possible: old and new DN are identical.')
ldapError: Moving not possible: old and new DN are identical.
Comment 1 Stefan Gohmann univentionstaff 2013-11-30 16:39:34 CET
See Bug #33482 for more informations.

Code changes: r46319 + r46325 + r46438 + r46441
Comment 2 Stefan Gohmann univentionstaff 2013-11-30 16:39:55 CET
YAML: 2013-11-26-univention-directory-manager-modules.yaml
Comment 3 Stefan Gohmann univentionstaff 2013-12-10 07:58:06 CET
One more commit: r46599, see Bug #33482
Comment 4 Dirk Wiesenthal univentionstaff 2013-12-11 13:45:48 CET
Code works
Tests passed
YAML ok
Comment 5 Moritz Muehlenhoff univentionstaff 2013-12-12 08:02:52 CET
http://errata.univention.de/ucs/3.1/203.html