From 91e4f04bda6418f6abab85eb4c3539a97f63e176 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?J=C3=B6rn=20Friedrich=20Dreyer?= Date: Wed, 8 Jul 2015 10:06:59 +0200 Subject: [PATCH 1/2] add curl example for deleting non_shib_passwod --- .../user_auth_shibboleth.rst | 17 ++++++++++++++++- 1 file changed, 16 insertions(+), 1 deletion(-) diff --git a/admin_manual/enterprise_user_management/user_auth_shibboleth.rst b/admin_manual/enterprise_user_management/user_auth_shibboleth.rst index b3f4517be..638902b4a 100644 --- a/admin_manual/enterprise_user_management/user_auth_shibboleth.rst +++ b/admin_manual/enterprise_user_management/user_auth_shibboleth.rst @@ -220,6 +220,21 @@ Status codes: * 100 - successful * 998 - user unknown +Example + +.. code-block:: bash + $ curl -X DELETE "http://localhost/owncloud/ocs/v1.php/cloud/users/myself@testshib.org/non_shib_password" -u admin:admin + + + + ok + 100 + + + + + + Known Limitations ----------------- @@ -258,4 +273,4 @@ provided by the ownCloud support team. https://wiki.shibboleth.net/confluence/display/SHIB2/NativeSPApacheConfig .. _WebDAV and Shibboleth: https://wiki.shibboleth.net/confluence/display/SHIB2/WebDAV - \ No newline at end of file + From 5b4d1dca956c8cadcb735dd07cf0dbf75bbfb0c4 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?J=C3=B6rn=20Friedrich=20Dreyer?= Date: Wed, 8 Jul 2015 10:49:01 +0200 Subject: [PATCH 2/2] use common hostname and https --- .../enterprise_user_management/user_auth_shibboleth.rst | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/admin_manual/enterprise_user_management/user_auth_shibboleth.rst b/admin_manual/enterprise_user_management/user_auth_shibboleth.rst index 638902b4a..fd69ba720 100644 --- a/admin_manual/enterprise_user_management/user_auth_shibboleth.rst +++ b/admin_manual/enterprise_user_management/user_auth_shibboleth.rst @@ -223,7 +223,7 @@ Status codes: Example .. code-block:: bash - $ curl -X DELETE "http://localhost/owncloud/ocs/v1.php/cloud/users/myself@testshib.org/non_shib_password" -u admin:admin + $ curl -X DELETE "https://cloud.example.com/ocs/v1.php/cloud/users/myself@testshib.org/non_shib_password" -u admin:admin