name = torture_setting_string(tctx, "host", NULL);
+ torture_comment(tctx, "test-WinsByName: host='%s'\n", name);
+
ret = wbcResolveWinsByName(name, &ip);
if (is_ipaddress(name)) {
host = torture_setting_string(tctx, "host", NULL);
+ torture_comment(tctx, "test-WinsByIp: host='%s'\n", host);
+
make_nbt_name_server(&nbt_name, host);
status = resolve_name_ex(lpcfg_resolve_context(tctx->lp_ctx),
talloc_asprintf(tctx,"Failed to resolve %s: %s",
nbt_name.name, nt_errstr(status)));
+ torture_comment(tctx, "test-WinsByIp: ip='%s'\n", ip);
+
ret = wbcResolveWinsByIP(ip, &name);
torture_assert_wbc_ok(tctx, ret, "wbcResolveWinsByIP for %s failed", ip);