|
测试ldap的时候写的脚本如下:
Action()
{
int mldap_add("LDAP Add",
"DN=c=newcountry,o=heb",
"Name=c", "Value=newcountry", ENDITEM,
"Name=objectClass", "Value=top","Value=country", ENDITEM,
LAST);
return 0;
}
编译以后报错:
found "LDAP Add" expecting `)'
Action.c (3): skipping "LDAP Add" `,' "DN=c=newcountry,o=h ... `,' "Name=c" `,' "Value=newcountry" `,' ... up to `)'
c:\\documents and settings\\administrator\\\327\300\303\346\\test_ldap\\test_ldap\\\\combined_test_ldap.c (5): 2 errors, not writing pre_cci.ci
不知道怎么回事?麻烦各位大虾帮忙看一下啊,小女子谢过先。
[ 本帖最后由 testzhu 于 2007-7-4 17:43 编辑 ] |
|