Thanks for the hint - but also with CURL I had no success

Code:

curl --insecure \
-D zen.header \
-c zen.cookie \
-d __ac_name=admin \
-d __ac_password=admin \
-d came_from=https://oss-beb-zn-p-b-zn-p-03-mon/zport/dmd \
-d submitted=true \
-L \
'https://oss-beb-zn-p-03-mon/zport/dmd/ZenUsers/manage_addUser%3Fuserid%3Dtest%26email%3Dtest%40me.com%26password%3Dqwert%26sndpassword%3Dqwert%26roles%3Alist%3DZenManager%26defaultAdminRole%3DZenManager'
 >| zen.html




I had some more output 

> 
> Type: BadRequest
> Value: <table border="0" width="100%"> <tr valign="top"> <td width="10%" 
> align="center">   </td> <td width="90%"> <h2>Site Error</h2> <p>An error was 
> encountered while publishing this resource. </p> <p><strong>Invalid 
> request</strong></p> The parameter, <em>userid</em>, was omitted from the 
> request.<p>Make sure to specify all required parameters, and try the request 
> again.</p> <hr noshade="noshade"/> <p>Troubleshooting Suggestions</p> <ul> 
> <li>The URL may be incorrect.</li> <li>The parameters passed to this resource 
> may be incorrect.</li> <li>A resource that this resource relies on may be 
> encountering an error.</li> </ul> <p>For more detailed information about the 
> error, please refer to error log. </p> <p>If the error persists please 
> contact the site maintainer. Thank you for your patience. </p> </td></tr> 
> </table> 
> 


Z2.log says:


Code:

164.128.14.229 - Anonymous [10/Mar/2009:14:52:54 +0200] "POST 
/VirtualHostBase/https//oss-beb-zn-p-03-mon:443/VirtualHostRoot/zport/dmd/ZenUsers/manage_addUser?userid=test&[email protected]&password=qwert&sndpassword=qwert&roles:list=ZenManager&defaultAdminRole=ZenManager
 HTTP/1.1" 400 17204 "" "curl/7.19.0 (sparc-sun-solaris2.10) libcurl/7.19.0 
OpenSSL/0.9.8g zlib/1.2.3"







-------------------- m2f --------------------

Read this topic online here:
http://forums.zenoss.com/viewtopic.php?p=32136#32136

-------------------- m2f --------------------



_______________________________________________
zenoss-users mailing list
[email protected]
http://lists.zenoss.org/mailman/listinfo/zenoss-users

Reply via email to