Bug 34971

Summary: Switch to MODRDN.delold=1
Product: UCS Reporter: Philipp Hahn <hahn>
Component: univention-libAssignee: Philipp Hahn <hahn>
Status: CLOSED FIXED QA Contact: Felix Botner <botner>
Severity: normal    
Priority: P1 CC: gohmann, jmm, requate
Version: UCS 3.2   
Target Milestone: UCS 3.2-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: 33594, 34355, 34802    
Bug Blocks:    

Description Philipp Hahn univentionstaff 2014-05-26 15:40:24 CEST
+++ This bug was initially created as a clone of Bug #34802 +++
Yes, that makes sense. I think this would fix the rename issue:

Index: univention-python/modules/uldap.py
===================================================================
--- univention-python/modules/uldap.py  (Revision 49891)
+++ univention-python/modules/uldap.py  (Arbeitskopie)
@@ -490,7 +490,7 @@
                ml=self.__encode_entry(ml)
                if rename:
                        univention.debug.debug(univention.debug.LDAP, univention.debug.WARN, 'rename %s' % rename)
-                       self.lo.rename_s(dn, rename, None, delold=0)
+                       self.lo.rename_s(dn, rename, None, delold=1)
                        dn=rename+dn[dn.find(','):]
                if ml:
                        try:
Comment 1 Philipp Hahn univentionstaff 2014-05-28 12:55:06 CEST
r50731 | Bug #34971 uldap: Delete old RDN on rename
Comment 2 Philipp Hahn univentionstaff 2014-06-17 10:10:13 CEST
YAML: r51099 | Bug #34971: uldap.rename(delold=1)
Comment 3 Felix Botner univentionstaff 2014-06-23 12:36:27 CEST
OK - uldap.modify()

OK - YAML
Comment 4 Moritz Muehlenhoff univentionstaff 2014-07-02 11:28:17 CEST
http://errata.univention.de/ucs/3.2/130.html