s4-resolv: fix dns_ex so as to fail correctly when a name does not exist
authorAndrew Bartlett <abartlet@samba.org>
Tue, 13 Dec 2011 06:22:34 +0000 (17:22 +1100)
committerAndrew Bartlett <abartlet@samba.org>
Wed, 14 Dec 2011 00:16:37 +0000 (01:16 +0100)
commit079d1572c2e9c3a349ad63514034673d07b1a557
tree2f7c9924dd344968fe645606559ec2c175727440
parent8a4b5cdfea7b2370b9d700e7dbdaa8143cfc972c
s4-resolv: fix dns_ex so as to fail correctly when a name does not exist

Without this, netbios name lookups do not work, as we never fall back to them.

This caused segfaults from e38d97e0424f7e5b21c8b7ac0b1f1bac33f19d69 to
251209bd6f6e66ca9bcf28cd652d85d1cd729fdc and then name lookup failure
or timeouts until this patch.

Andrew Bartlett

Autobuild-User: Andrew Bartlett <abartlet@samba.org>
Autobuild-Date: Wed Dec 14 01:16:37 CET 2011 on sn-devel-104
source4/libcli/resolve/dns_ex.c