Univention Bugzilla – Attachment 10104 Details for
Bug 49792
UCS@school: Allow re-creation of deleted group object with same objectSid in Samba/AD
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Requests
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
allow-recreation-of-samba-deleted-object-v2.patch
allow-recreation-of-samba-deleted-object-v2.patch (text/plain), 945 bytes, created by
Arvid Requate
on 2019-07-04 13:54:18 CEST
(
hide
)
Description:
allow-recreation-of-samba-deleted-object-v2.patch
Filename:
MIME Type:
Creator:
Arvid Requate
Created:
2019-07-04 13:54:18 CEST
Size:
945 bytes
patch
obsolete
>diff --git a/services/univention-s4-connector/modules/univention/s4connector/s4/__init__.py b/services/univention-s4-connector/modules/univention/s4connector/s4/__init__.py >index b93b07f723..71c0320ab6 100644 >--- a/services/univention-s4-connector/modules/univention/s4connector/s4/__init__.py >+++ b/services/univention-s4-connector/modules/univention/s4connector/s4/__init__.py >@@ -2557,7 +2557,7 @@ class s4(univention.s4connector.ucs): > ud.debug(ud.LDAP, ud.ALL, "sync_from_ucs: addlist: %s" % addlist) > try: > self.lo_s4.lo.add_ext_s(compatible_modstring(object['dn']), compatible_addlist(addlist), serverctrls=ctrls) # FIXME encoding >- except ldap.ALREADY_EXISTS as ex: >+ except (ldap.ALREADY_EXISTS, ldap.CONSTRAINT_VIOLATION) as ex: > sAMAccountName = object['attributes'].get('sAMAccountName', [None])[0] > sambaSID = object['attributes'].get('sambaSID', [None])[0] > if not (sAMAccountName and sambaSID):
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 49792
: 10104