From 293af3772d8a57f5905ac54830c3087311282c41 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 65b352062..ef7d6fb8c 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 05bd045ce2ba8cf4c37cd103ef1e5cf78cac23e5 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 ef7d6fb8c..82b608ee9 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 d8b2ae323a35091d49b2246941b0223cb8b791ba 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 82b608ee9..2a9d32d74 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