From 11c4e4554977d384473cdd76bfb6650e29921a00 Mon Sep 17 00:00:00 2001 From: Morris Jobke Date: Tue, 6 Dec 2016 10:59:48 +0100 Subject: [PATCH 1/3] Document sizelimit exceed Signed-off-by: Morris Jobke --- .../configuration_user/user_auth_ldap.rst | 20 +++++++++++++++---- 1 file changed, 16 insertions(+), 4 deletions(-) diff --git a/admin_manual/configuration_user/user_auth_ldap.rst b/admin_manual/configuration_user/user_auth_ldap.rst index 6d33a497f..957984199 100644 --- a/admin_manual/configuration_user/user_auth_ldap.rst +++ b/admin_manual/configuration_user/user_auth_ldap.rst @@ -523,7 +523,7 @@ Troubleshooting, Tips and Tricks -------------------------------- SSL Certificate Verification (LDAPS, TLS) ------------------------------------------ +^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ A common mistake with SSL certificates is that they may not be known to PHP. If you have trouble with certificate validation make sure that @@ -540,14 +540,14 @@ If you have trouble with certificate validation make sure that 636) Microsoft Active Directory --------------------------- +^^^^^^^^^^^^^^^^^^^^^^^^^^ Compared to earlier Nextcloud versions, no further tweaks need to be done to make Nextcloud work with Active Directory. Nextcloud will automatically find the correct configuration in the set-up process. memberOf / Read MemberOf permissions ------------------------------------- +^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ If you want to use ``memberOf`` within your filter you might need to give your querying user the permissions to use it. For Microsoft Active Directory this @@ -555,7 +555,7 @@ is described `here `_. Duplicating Server Configurations ---------------------------------- +^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ In case you have a working configuration and want to create a similar one or "snapshot" configurations before modifying them you can do the following: @@ -570,6 +570,18 @@ 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 that the 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. + Nextcloud LDAP Internals ------------------------ From cf9b247e71ac7564f85c3fdfc7b57b3c984e182b Mon Sep 17 00:00:00 2001 From: Morris Jobke Date: Tue, 6 Dec 2016 11:04:50 +0100 Subject: [PATCH 2/3] adjust to @blizzz comments Signed-off-by: Morris Jobke --- admin_manual/configuration_user/user_auth_ldap.rst | 14 +++++++++----- 1 file changed, 9 insertions(+), 5 deletions(-) diff --git a/admin_manual/configuration_user/user_auth_ldap.rst b/admin_manual/configuration_user/user_auth_ldap.rst index 957984199..5bdf6f42c 100644 --- a/admin_manual/configuration_user/user_auth_ldap.rst +++ b/admin_manual/configuration_user/user_auth_ldap.rst @@ -576,11 +576,15 @@ Now you can modify and enable the configuration. ldap_search(): Partial search results returned: Sizelimit exceeded at apps/user_ldap/lib/LDAP.php#256 -This error message means that the 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. +This error message means that 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. Nextcloud LDAP Internals ------------------------ From 6be710611baad8ccdf4ee169778f929cc067050e Mon Sep 17 00:00:00 2001 From: Morris Jobke Date: Tue, 6 Dec 2016 11:05:43 +0100 Subject: [PATCH 3/3] fix typo Signed-off-by: Morris Jobke --- admin_manual/configuration_user/user_auth_ldap.rst | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/admin_manual/configuration_user/user_auth_ldap.rst b/admin_manual/configuration_user/user_auth_ldap.rst index 5bdf6f42c..68a6724ea 100644 --- a/admin_manual/configuration_user/user_auth_ldap.rst +++ b/admin_manual/configuration_user/user_auth_ldap.rst @@ -576,7 +576,7 @@ Now you can modify and enable the configuration. ldap_search(): Partial search results returned: Sizelimit exceeded at apps/user_ldap/lib/LDAP.php#256 -This error message means that one of the following: +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