Bug 39673 - Endless loop in S4 connector search with more 1000 groups
Endless loop in S4 connector search with more 1000 groups
Status: CLOSED FIXED
Product: UCS
Classification: Unclassified
Component: S4 Connector
UCS 4.1
Other Linux
: P5 normal (vote)
: UCS 4.0-3-errata
Assigned To: Stefan Gohmann
Felix Botner
:
Depends on:
Blocks:
  Show dependency treegraph
 
Reported: 2015-10-29 18:10 CET by Stefan Gohmann
Modified: 2015-10-30 11:24 CET (History)
1 user (show)

See Also:
What kind of report is it?: ---
What type of bug is this?: ---
Who will be affected by this bug?: ---
How will those affected feel about the bug?: ---
User Pain:
Enterprise Customer affected?:
School Customer affected?:
ISV affected?:
Waiting Support:
Flags outvoted (downgraded) after PO Review:
Ticket number:
Bug group (optional):
Max CVSS v3 score:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Stefan Gohmann univentionstaff 2015-10-29 18:10:12 CET
Ticket #2015102921000361

With 1400 groups the connector results in an endless loop:

29.10.2015 17:10:59,105 LDAP        (PROCESS): S4 search continues, already found 90000 objects
29.10.2015 17:10:59,800 LDAP        (PROCESS): S4 search continues, already found 91000 objects
29.10.2015 17:11:00,478 LDAP        (PROCESS): S4 search continues, already found 92000 objects
29.10.2015 17:11:01,143 LDAP        (PROCESS): S4 search continues, already found 93000 objects
29.10.2015 17:11:01,799 LDAP        (PROCESS): S4 search continues, already found 94000 objects
29.10.2015 17:11:02,401 LDAP        (PROCESS): S4 search continues, already found 95000 objects

This happens with UCS 4.0-3errata351.

Workaround:
apt-get install \
 python-univention-connector-s4=9.0.16-40.571.201508061242 \
 univention-s4-connector=9.0.16-40.571.201508061242
Comment 1 Stefan Gohmann univentionstaff 2015-10-29 21:38:23 CET
The problem was the changed LDAP control list. Fixed with r64993 in 4.0-3-errata.

It still needs some tests and a YAML file.
Comment 2 Stefan Gohmann univentionstaff 2015-10-30 06:01:53 CET
(In reply to Stefan Gohmann from comment #1)
> It still needs some tests and a YAML file.

YAML: r64996
Comment 3 Felix Botner univentionstaff 2015-10-30 10:16:52 CET
OK - 4.0-3 - stoppen connector, create 1500 users in s4, started connector
OK - merged to 4.1-0
OK - YAML
Comment 4 Janek Walkenhorst univentionstaff 2015-10-30 11:24:25 CET
<http://errata.software-univention.de/ucs/4.0/352.html>