From 2d8303985016cf50bd36290b02be2d262873d40a Mon Sep 17 00:00:00 2001 From: Louis Chemineau Date: Tue, 7 Feb 2023 18:18:45 +0100 Subject: [PATCH] Add entry for ldapConnectionTimeout ldap option https://github.com/nextcloud/server/pull/35355 Signed-off-by: Louis Chemineau --- admin_manual/configuration_user/user_auth_ldap_api.rst | 10 ++++++---- 1 file changed, 6 insertions(+), 4 deletions(-) diff --git a/admin_manual/configuration_user/user_auth_ldap_api.rst b/admin_manual/configuration_user/user_auth_ldap_api.rst index 50d54f71fd8..9c4a0d70277 100644 --- a/admin_manual/configuration_user/user_auth_ldap_api.rst +++ b/admin_manual/configuration_user/user_auth_ldap_api.rst @@ -18,7 +18,7 @@ basic HTTP authentication header. Example ^^^^^^^ -:: +:: $ curl -X POST https://admin:secret@example.com/ocs/v2.php/apps/user_ldap/api/v1/config -H "OCS-APIREQUEST: true" @@ -54,7 +54,7 @@ Deletes a given LDAP configuration. Authentication is done by sending a basic HT Example ^^^^^^^ -:: +:: $ curl -X DELETE ``https://admin:secret@example.com/ocs/v2.php/apps/user_ldap/api/v1/config/s02 -H "OCS-APIREQUEST: true" @@ -89,7 +89,7 @@ Returns all keys and values of the specified LDAP configuration. Authentication Example ^^^^^^^ -:: +:: $ curl -X GET https://admin:secret@example.com/ocs/v2.php/apps/user_ldap/api/v1/config/s02?showPassword=1 -H "OCS-APIREQUEST: true" @@ -178,7 +178,7 @@ Updates a configuration with the provided values. Authentication is done by send Example ^^^^^^^ -:: +:: $ curl -X PUT https://admin:secret@example.com/ocs/v2.php/apps/user_ldap/api/v1/config/s01 -H "OCS-APIREQUEST: true" -d "configData[ldapHost]=ldap%3A%2F%2Fldap.server.tld &configData[ldapPort]=389" @@ -315,4 +315,6 @@ Configuration keys +-------------------------------+------+----------+-----------------------------------------------------------------------------------------------------------------------+ | ldapDefaultPPolicyDN | rw | no | PPolicy DN for password rules | +-------------------------------+------+----------+-----------------------------------------------------------------------------------------------------------------------+ +| ldapConnectionTimeout | rw | no | Set the ``LDAP_OPT_NETWORK_TIMEOUT`` connection options. Default to 15 sec. | ++-------------------------------+------+----------+-----------------------------------------------------------------------------------------------------------------------+