[Openvas-commits] r3335 - trunk/doc/website

scm-commit@wald.intevation.org scm-commit at wald.intevation.org
Tue May 12 14:41:43 CEST 2009


Author: mwiegand
Date: 2009-05-12 14:41:43 +0200 (Tue, 12 May 2009)
New Revision: 3335

Modified:
   trunk/doc/website/openvas-cr-30.htm4
   trunk/doc/website/openvas-crs.htm4
Log:
Fixed typo on CR page, added specification for set_credentials command to OCP spec.


Modified: trunk/doc/website/openvas-cr-30.htm4
===================================================================
--- trunk/doc/website/openvas-cr-30.htm4	2009-05-12 12:28:45 UTC (rev 3334)
+++ trunk/doc/website/openvas-cr-30.htm4	2009-05-12 12:41:43 UTC (rev 3335)
@@ -351,6 +351,46 @@
 <ocp_response command="set_rules" status="200"/>
 </pre>
 
+<h4>set_credentials</h4>
+
+<p>
+The client uses the "set_credentials" command to alter the credentials for an existing user.
+The request must include the name of the existing user and the new credentials for
+the user. Note that the provided credentials will overwrite existing credentials.
+</p>
+
+<p>
+The status code in the configuration manager response will indicate whether or
+not the requested action was successfully completed.
+</p>
+
+<p>
+Command elements:
+<ul>
+  <li>credentials: An element containing the new credentials to be applied for the user.
+</ul>
+</p>
+
+<h5>Example:</h5>
+
+<p>
+<b>C:</b>
+</p>
+
+<pre>
+&lt;ocp_request command ="set_credentials"&gt;
+  &lt;credentials&gt;TODO&lt;/credentials&gt;
+&lt;/ocp_request&gt;
+</pre>
+
+<p>
+<b>CM:</b>
+</p>
+
+<pre>
+&lt;ocp_response command="set_credentials" status="200"/&gt;
+</pre>
+
 <h4>list_all_prefs</h4>
 
 <p>

Modified: trunk/doc/website/openvas-crs.htm4
===================================================================
--- trunk/doc/website/openvas-crs.htm4	2009-05-12 12:28:45 UTC (rev 3334)
+++ trunk/doc/website/openvas-crs.htm4	2009-05-12 12:41:43 UTC (rev 3335)
@@ -73,7 +73,7 @@
 <li> <a href="openvas-cr-27.html">OpenVAS Change Request #27: IPv6 support</a> (in discussion)
 <li> <a href="openvas-cr-28.html">OpenVAS Change Request #28: OpenVAS Management Protocol (OMP)</a> (in discussion)
 <li> <a href="openvas-cr-29.html">OpenVAS Change Request #29: OpenVAS Unified Logging</a> (in discussion)
-<li> <a href="openvas-cr-30.html">OpenVAS Change Request #30: OpenVAS Configuration Management Protocol (OMP)</a> (in discussion)
+<li> <a href="openvas-cr-30.html">OpenVAS Change Request #30: OpenVAS Configuration Management Protocol (OCP)</a> (in discussion)
 <li> <a href="openvas-cr-31.html">OpenVAS Change Request #31: OpenVAS-Server: Remove support for plaintext password storage</a> (in progress)
 </ul>
 



More information about the Openvas-commits mailing list