|
向各位大虾求助,linna感激不尽:
我用遍了各种协议,最后勇多协议录制的生成的脚本如下:
我尝试了各种方法,结果录制的脚本如下:
Action()
{
lrs_create_socket("socket0", "TCP", "LocalHost=0", "RemoteHost=16.173.30.75:389", LrsLastArg);
lrs_send("socket0", "buf0", LrsLastArg);
lrs_receive("socket0", "buf1", LrsLastArg);
lrs_send("socket0", "buf2", LrsLastArg);
lrs_receive("socket0", "buf3", LrsLastArg);
mldap1 = 0;
mldap_logon_ex(&mldap1,
"LdapLogon",
"URL=ldap://(null)",
LAST);
lrs_send("socket0", "buf4", LrsLastArg);
lrs_receive("socket0", "buf5", LrsLastArg);
lrs_send("socket0", "buf6", LrsLastArg);
lrs_receive("socket0", "buf7", LrsLastArg);
lrs_send("socket0", "buf8", LrsLastArg);
lrs_close_socket("socket0");
mldap_logoff_ex(&mldap1);
return 0;
}
还有一个data.ws文件,但是data.ws文件看不懂!
录制的对象是outlook2007邮件服务器,不知道我应该如何做诸如参数化这类的操作! |
|