[Openvas-devel] OAP: what's wrong with this modify_user command?
Michael Meyer
michael.meyer at greenbone.net
Sun May 2 15:24:21 CEST 2010
*** Hartmut Goebel <h.goebel at goebel-consult.de> wrote:
> when sending this OAP command to the administator, I only get "internal
> error". I tried several combinations but always the same result.
>
> <modify_user>
> <name>test3</name>
> <password modify="0">XXXX</password>
> <role>Administrator</role>
> <hosts allow="0">1.2.3.4></hosts>
> </modify_user>
,---[ /opt/openvas/sbin/openvasad --help ]
| -r, --role=<role> Role when creating or modifying a user (User or Admin)
`---| ^^^^^
,---|
| mime at kira:~ % openssl s_client -host 192.168.2.4 -port 9392
| <authenticate>
| <credentials>
| <username>xxx</username>
| <password>xxx</password>
| </credentials>
| </authenticate>
| <authenticate_response status="200" status_text="OK"/>
| <modify_user>
| <name>testuser</name>
| <password modify="0"></password>
| <role>Admin</role>
| <hosts allow="0">1.2.3.4</hosts>
| </modify_user>
| <modify_user_response status="200" status_text="OK"/
`---|
HTH
Micha
--
Michael Meyer OpenPGP Key: 52A6EFA6
http://www.greenbone.net/
Greenbone Networks GmbH, Neuer Graben 17, 49074 Osnabrück | AG
Osnabrück, HR B 202460
Geschäftsführer: Lukas Grunwald, Dr. Jan-Oliver Wagner
More information about the Openvas-devel
mailing list