Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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:[email protected]/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:[email protected]/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:[email protected]/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:[email protected]/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. |
+-------------------------------+------+----------+-----------------------------------------------------------------------------------------------------------------------+