Add support for paginating ldap result in setup
Add support for paginating ldap result in setup
When running the setup script on a big ldap, (10000+ entry) the setup fail on LDAP inspection. It first fails on php memory allocation, changing the value on php.ini would fix that. but then it fail on ldap query timeout.
Doing the ldap inspection by batch would be nice.
Link issues together to show that they're related. Learn more.
Activity
I'm not sure LDAP pagination can fix this, I think the problem is that the code store the list of the users. I'd need someone to test this case and save the trace of the error so that we know which part exactly is the problem.
(from redmine: written on 2013-12-10)
By Côme Chilliet on 2017-09-02T15:07:05 (imported from GitLab)
- bmortier changed the description
changed the description
By bmortier on 2017-10-16T14:49:05 (imported from GitLab)
- bmortier changed the description
changed the description
By bmortier on 2017-10-16T14:49:16 (imported from GitLab)
- bmortier removed ~354 label
removed ~354 label
By bmortier on 2017-10-16T14:49:43 (imported from GitLab)
- bmortier mentioned in issue #2201 (closed)
mentioned in issue #2201 (closed)
By bmortier on 2017-12-14T09:29:52 (imported from GitLab)
- bmortier changed milestone to %FusionDirectory 1.4
changed milestone to %FusionDirectory 1.4
By Côme Chilliet on 2018-01-04T08:41:12 (imported from GitLab)
- bmortier added PJ1802-0188 label
added PJ1802-0188 label
By bmortier on 2018-04-05T09:13:21 (imported from GitLab)
- bmortier added 5m of time spent at 2019-06-04
added 5m of time spent at 2019-06-04
By bmortier on 2019-06-04T12:14:35 (imported from GitLab)
- bmortier changed due date to June 06, 2019
changed due date to June 06, 2019
By bmortier on 2019-06-04T12:14:39 (imported from GitLab)
Doing LDAP pagination with PHP<7.3 is a bit hard. Also I’m not sure it would fix the problem on its own since the first error was PHP memory limit.
To test it you need to crash the setup by using an LDAP with too many users.
By Côme Chilliet on 2019-06-06T08:14:29 (imported from GitLab)
- bmortier added 10m of time spent at 2019-06-06
added 10m of time spent at 2019-06-06
By Côme Chilliet on 2019-06-06T08:14:30 (imported from GitLab)
- bmortier removed due date
removed due date
By bmortier on 2019-06-06T08:15:12 (imported from GitLab)
- bmortier changed due date to June 13, 2019
changed due date to June 13, 2019
By bmortier on 2019-06-06T08:15:22 (imported from GitLab)
- bmortier assigned to @jswaelens and unassigned @MCMic
assigned to @jswaelens and unassigned @MCMic
By bmortier on 2019-06-06T08:15:27 (imported from GitLab)
- bmortier added To Be Tested label
added To Be Tested label
- bmortier added 3h of time spent at 2019-07-18
added 3h of time spent at 2019-07-18
By Jonathan Swaelens on 2019-07-18T12:11:02 (imported from GitLab)
First time it went until LDAP inspection but I had an CSRF error (i used the previous button).
The second time I cannot arrive until LDAP inspection, when I click it it's like the webserver is loading the new page but it never arrived. And at a time it just stop working.
By Jonathan Swaelens on 2019-07-18T19:59:43 (imported from GitLab)
- bmortier added 2h of time spent at 2019-07-18
added 2h of time spent at 2019-07-18
By Jonathan Swaelens on 2019-07-18T19:59:43 (imported from GitLab)