Univention Bugzilla – Attachment 4971 Details for
Bug 29988
AD Connector should log modlist in case of reject/traceback
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Requests
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
Patch proposal
univention-ad-connector-trace.patch (text/plain), 1.42 KB, created by
Arvid Requate
on 2013-01-10 12:41:44 CET
(
hide
)
Description:
Patch proposal
Filename:
MIME Type:
Creator:
Arvid Requate
Created:
2013-01-10 12:41:44 CET
Size:
1.42 KB
patch
obsolete
>Index: modules/univention/connector/ad/__init__.py >=================================================================== >--- modules/univention/connector/ad/__init__.py (Revision 37358) >+++ modules/univention/connector/ad/__init__.py (Arbeitskopie) >@@ -2086,7 +2086,12 @@ > else: > modlist.append((ldap.MOD_DELETE, attr, None)) > >- self.lo_ad.lo.add_s(compatible_modstring(object['dn']), compatible_addlist(addlist)) #FIXME encoding >+ try: >+ self.lo_ad.lo.add_s(compatible_modstring(object['dn']), compatible_addlist(addlist)) #FIXME encoding >+ except: >+ ud.debug(ud.LDAP, ud.ERROR, "sync_from_ucs: traceback during add object: %s"%object['dn']) >+ ud.debug(ud.LDAP, ud.ERROR, "sync_from_ucs: traceback due to addlist: %s"%addlist) >+ raise > > if property_type == 'group': > self.group_members_cache_con[object['dn'].lower()] = [] >@@ -2176,7 +2181,12 @@ > modlist.append((ldap.MOD_DELETE, yank_empty_attr, None)) > > if modlist: >- self.lo_ad.lo.modify_s(compatible_modstring(object['dn']), compatible_modlist(modlist)) >+ try: >+ self.lo_ad.lo.modify_s(compatible_modstring(object['dn']), compatible_modlist(modlist)) >+ except: >+ ud.debug(ud.LDAP, ud.ERROR, "sync_from_ucs: traceback during modify object: %s"%object['dn']) >+ ud.debug(ud.LDAP, ud.ERROR, "sync_from_ucs: traceback due to modlist: %s"%modlist) >+ raise > > > if hasattr(self.property[property_type],"post_con_modify_functions"):
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 29988
: 4971