Univention Bugzilla – Attachment 9998 Details for
Bug 40055
adtakeover: Unable to parse search expression
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Requests
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
patch
40055.patch (text/plain), 975 bytes, created by
Florian Best
on 2019-04-30 11:44:44 CEST
(
hide
)
Description:
patch
Filename:
MIME Type:
Creator:
Florian Best
Created:
2019-04-30 11:44:44 CEST
Size:
975 bytes
patch
obsolete
>diff --git a/management/univention-management-console-module-adtakeover/umc/python/adtakeover/takeover.py b/management/univention-management-console-module-adtakeover/umc/python/adtakeover/takeover.py >index 8d0ea1c0a3..d043a29d20 100644 >--- a/management/univention-management-console-module-adtakeover/umc/python/adtakeover/takeover.py >+++ b/management/univention-management-console-module-adtakeover/umc/python/adtakeover/takeover.py >@@ -2298,7 +2298,12 @@ class GroupRenameHandler: > try: > log.debug("Renaming '%s' to '%s' in UCS LDAP." % (group.dn, new_name)) > group['name'] = new_name >- return group.modify() >+ dn = group.modify() >+ dn2 = ldap.dn.str2dn(dn) >+ if new_name != dn2[0][0][1]: # TODO: remove when fixed in UDM >+ dn2.insert(0, [(dn2.pop(0)[0][0], new_name, ldap.AVA_STRING)]) >+ dn = ldap.dn.dn2str(dn2) >+ return dn > except uexceptions.ldapError as exc: > log.debug("Renaming of group '%s' failed: %s." % (groupdn, exc,)) > return
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Diff
View Attachment As Raw
Actions:
View
|
Diff
Attachments on
bug 40055
:
9110
|
9966
|
9984
| 9998