Dear all, I'm having problem with connecting and querying through wmi. The log says: WMI Connect Failed.
I used "wmic" from command line, it's able to get RSOP results back. I also used "gpresult" which is a microsoft tool to query RSOP data, and it's working. I believe the host configuration with WMI is correct. But openvas still can't connect through WMI. I installed wmi following instructions here: http://code.ohloh.net/file?fid=FUi4Z0R3xgX0oCjcpy4vdQq7eec&cid=MQKpc2gZPvw&s=&browser=Default#L0 . Also I wrote a test nasl script, first set host, username and password properly, then call the function: wmi_connect(host:host, username:usrname, password:passwd); and run the script using openvas-nasl. It printed our error message: [librpc/rpc/dcerpc_connect.c:329:dcerpc_pipe_connect_ncacn_ip_tcp_recv()] failed NT status (c0000236) in dcerpc_pipe_connect_ncacn_ip_tcp_recv [librpc/rpc/dcerpc_connect.c:790:dcerpc_pipe_connect_b_recv()] failed NT status (c0000236) in dcerpc_pipe_connect_b_recv nasl_wmi_connect: WMI Connect failed I'm using openvas 6 libraries and wmi 1.3.14. Can anyone help me out? Thank you in advance. *--* *Yanjin Ding*
_______________________________________________ Openvas-devel mailing list Openvas-devel@wald.intevation.org https://lists.wald.intevation.org/cgi-bin/mailman/listinfo/openvas-devel