Bug 34971 - Switch to MODRDN.delold=1
Switch to MODRDN.delold=1
Status: CLOSED FIXED
Product: UCS
Classification: Unclassified
Component: univention-lib
UCS 3.2
Other Linux
: P1 normal (vote)
: UCS 3.2-2-errata
Assigned To: Philipp Hahn
Felix Botner
:
Depends on: 33594 34355 34802
Blocks:
  Show dependency treegraph
 
Reported: 2014-05-26 15:40 CEST by Philipp Hahn
Modified: 2014-07-02 11:28 CEST (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:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
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