Merge pull request #9617 from nextcloud/artonge/server/35355

Add entry for ldapConnectionTimeout ldap option
This commit is contained in:
Louis 2023-02-08 14:15:46 +01:00 committed by GitHub
commit 486e98a4bf
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -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. |
+-------------------------------+------+----------+-----------------------------------------------------------------------------------------------------------------------+