Skip to content

Commit

Permalink
Add entry for ldapConnectionTimeout ldap option
Browse files Browse the repository at this point in the history
nextcloud/server#35355
Signed-off-by: Louis Chemineau <louis@chmn.me>
  • Loading branch information
artonge authored and backportbot-nextcloud[bot] committed Feb 8, 2023
1 parent 824e8ad commit 2d83039
Showing 1 changed file with 6 additions and 4 deletions.
10 changes: 6 additions & 4 deletions admin_manual/configuration_user/user_auth_ldap_api.rst
Original file line number Diff line number Diff line change
Expand Up @@ -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"

Expand Down Expand Up @@ -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"

Expand Down Expand Up @@ -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"

Expand Down Expand Up @@ -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"

Expand Down Expand Up @@ -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. |
+-------------------------------+------+----------+-----------------------------------------------------------------------------------------------------------------------+

0 comments on commit 2d83039

Please sign in to comment.