Univention Bugzilla – Bug 41248
group_members_sync_to_ucs: Size limit exceeded
Last modified: 2016-09-21 20:12:13 CEST
At Ticket #2016042621000438 we had the case where the sync of a large group ("Domain Users school1") from AD back to UCS failed: ======================================================================= 10.05.2016 18:40:29,255 LDAP (PROCESS): sync to ucs: [ group] [ modify] cn=domain users school1,cn=groups,ou=school1,"$connector_ad_ldap_base" 10.05.2016 18:40:29,904 LDAP (ERROR ): failed in post_con_modify_functions 10.05.2016 18:40:29,905 LDAP (ERROR ): Traceback (most recent call last): File "/usr/lib/pymodules/python2.7/univention/connector/__init__.py", line 1309, in sync_to_ucs f(self, property_type, object) File "/usr/lib/pymodules/python2.7/univention/connector/ad/__init__.py", line 166, in group_members_sync_to_ucs return connector.group_members_sync_to_ucs(key, object) File "/usr/lib/pymodules/python2.7/univention/connector/ad/__init__.py", line 1765, in group_members_sync_to_ucs timeout=-1, sizelimit=0)) File "/usr/lib/python2.7/dist-packages/ldap/ldapobject.py", line 918, in search_ext_s return self._apply_method_s(SimpleLDAPObject.search_ext_s,*args,**kwargs) File "/usr/lib/python2.7/dist-packages/ldap/ldapobject.py", line 860, in _apply_method_s return func(self,*args,**kwargs) File "/usr/lib/python2.7/dist-packages/ldap/ldapobject.py", line 553, in search_ext_s return self.result(msgid,all=1,timeout=timeout)[1] File "/usr/lib/python2.7/dist-packages/ldap/ldapobject.py", line 465, in result resp_type, resp_data, resp_msgid = self.result2(msgid,all,timeout) File "/usr/lib/python2.7/dist-packages/ldap/ldapobject.py", line 469, in result2 resp_type, resp_data, resp_msgid, resp_ctrls = self.result3(msgid,all,timeout) File "/usr/lib/python2.7/dist-packages/ldap/ldapobject.py", line 476, in result3 resp_ctrl_classes=resp_ctrl_classes File "/usr/lib/python2.7/dist-packages/ldap/ldapobject.py", line 483, in result4 ldap_result = self._ldap_call(self._l.result4,msgid,all,timeout,add_ctrls,add_intermediates,add_extop) File "/usr/lib/python2.7/dist-packages/ldap/ldapobject.py", line 106, in _ldap_call result = func(*args,**kwargs) SIZELIMIT_EXCEEDED: {'desc': 'Size limit exceeded'} ======================================================================= I guess we need paging at this point.
Just for your information. Customer confirmed that after he increased the MaxPageSize on the AD the rejects are gone.
(In reply to Michel Smidt from comment #1) > Just for your information. > Customer confirmed that after he increased the MaxPageSize on the AD the > rejects are gone. OK, thanks.
*** Bug 29854 has been marked as a duplicate of this bug. ***
Fixed along with Bug #41744. Advisory: univention-ad-connector.yaml
Code review: OK Tests: OK Jenkins tests: OK YAML: OK
<http://errata.software-univention.de/ucs/4.1/237.html>