Owncloud 9.0 and user_ldap regression (ldap server crash)
Original issue in https://github.com/owncloud/core/issues/23619 by @tdesloovere
we upgraded our Owncloud 8.2 server recently to Owncloud 9.0 and noticed a regression regarding the user_ldap app.
Our current setup: We currently have a Novell Open Enterprise Server which (OES 2015) handles the LDAP requests. Once the LDAP settings are set, we get after the test-configuration more than 1000 entries back. This was working fine in version 8.2 and we could see all the users and groups and scroll through the list of users.
Now we upgraded to version 9.0. Users and groups were still available but when we scrolled through the list of users, Owncloud made our LDAP service on the OES server crash. After some investigation we noticed that it has something to do with paged results settings, if the app finds more than 1000 entries. Less entries, will NOT generate this crash. It looks like version 9.0 generates LDAP-queries that will clash with certain servers. If we completely disabled paged results on the OES server, the error does no longer appear. Is there a way to disable paged results queries on the Owncloud server (setting to 0 does not work!) ?
@tdesloovere Does it happens with the 9.0.5 too?
We were not yet able to test this on the latest Owncloud version since these Novell servers are in production and we can't afford any outage. As soon as we find the time to test this outside production, we will post our results here.