Univention Bugzilla – Bug 46280
(7.8.4/4.2) Performance issue with listgroup and large environments
Last modified: 2018-08-21 13:41:15 CEST
+++ This bug was initially created as a clone of Bug #45784 +++ In a system with lots of groups, each group create takes a long time if no searchpattern is used. --- a/univention-ox/share/listener_tools.py +++ b/univention-ox/share/listener_tools.py @@ -446,7 +446,7 @@ class OXGroupCache(object): ''' Add group for a specific group and context with data from OX. ''' - for row in ox_list_group(admuser, admpass, context_id, logger=self.logger): + for row in ox_list_group(admuser, admpass, context_id, searchpattern=groupname, logger=self.logger): if row[CSV_GROUP_ROW_GROUPNAME].lower() == groupname.lower(): self.logger.debug('add_from_ox: groupname=%r group_id=%r context_id=%r displayname=%r members=%r' % ( groupname,
[4.2 1165546] Bug #46280: speed up group query univention-ox (9.0.7-12)
I cannot find any advisory in doc/errata/staging.
[4.2 fdaf4d3] Bug #46280: advisory
OK: code change OK: functional change OK: advisory
OX 7.8.4-ucs11 has been released: http://appcenter.software-univention.de/univention-repository/4.2/maintained/component/oxseforucs_20180313114939/README_UPDATE_DE