From 8eb0e5b29bdd416c73606cb8d511cf47219c9cd1 Mon Sep 17 00:00:00 2001 From: Arthur Schiwon Date: Mon, 5 Nov 2018 16:46:13 +0100 Subject: [PATCH 1/2] you need to live wiht sizelimit exceeded even stated in the php docs: http://php.net/manual/en/function.ldap-search.php Signed-off-by: Arthur Schiwon --- admin_manual/configuration_user/user_auth_ldap.rst | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/admin_manual/configuration_user/user_auth_ldap.rst b/admin_manual/configuration_user/user_auth_ldap.rst index eda1ca1a0..3c8e5ebc2 100644 --- a/admin_manual/configuration_user/user_auth_ldap.rst +++ b/admin_manual/configuration_user/user_auth_ldap.rst @@ -682,6 +682,11 @@ This error message means one of the following: #. No pagination is used and this indicates that there are more results on the LDAP server than what is returned. You should then enabled pagination on your LDAP server to import all available users. +#. A request to LDAP was sent, which limited the amount of results. This happens + anywhere where pagination is used, but also in the LDAP wizard. Since PHP's + LDAP module sends this messages as errors, we could only decide to silence + all error output, or none. Therefore it is inevitable that the message appears + in the log from time to time. Please ignore it. Nextcloud LDAP internals ------------------------ From cab9d8e1ea2d231058761fc98ac55e10e1ef8621 Mon Sep 17 00:00:00 2001 From: Morris Jobke Date: Thu, 15 Nov 2018 11:08:14 +0100 Subject: [PATCH 2/2] Remove sizelimit explanation because it is not logged anymore in 15+ Signed-off-by: Morris Jobke --- .../configuration_user/user_auth_ldap.rst | 21 ------------------- 1 file changed, 21 deletions(-) diff --git a/admin_manual/configuration_user/user_auth_ldap.rst b/admin_manual/configuration_user/user_auth_ldap.rst index 3c8e5ebc2..fb58fff56 100644 --- a/admin_manual/configuration_user/user_auth_ldap.rst +++ b/admin_manual/configuration_user/user_auth_ldap.rst @@ -667,27 +667,6 @@ In case you have a working configuration and want to create a similar one or Now you can modify and enable the configuration. -"Sizelimit exceeded" message in logs -^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ - - ldap_search(): Partial search results returned: Sizelimit exceeded at - apps/user_ldap/lib/LDAP.php#256 - -This error message means one of the following: - -#. Pagination of the results is used for communicating with the LDAP server - (pagination is by default enabled in OpenLDAP and AD), but there are more - results to return than what the pagination limit is set to. If there are no - users missing in you setup then you can ignore this error message for now. -#. No pagination is used and this indicates that there are more results on the - LDAP server than what is returned. You should then enabled pagination on - your LDAP server to import all available users. -#. A request to LDAP was sent, which limited the amount of results. This happens - anywhere where pagination is used, but also in the LDAP wizard. Since PHP's - LDAP module sends this messages as errors, we could only decide to silence - all error output, or none. Therefore it is inevitable that the message appears - in the log from time to time. Please ignore it. - Nextcloud LDAP internals ------------------------