Fix the loop unrolling inside resolve_ads().
commitb9d3f8258396873d6ec8b6ea9ad066e2f1f8e973
authorJeremy Allison <jra@samba.org>
Mon, 30 Apr 2012 23:32:51 +0000 (30 16:32 -0700)
committerKarolin Seeger <kseeger@samba.org>
Sat, 26 May 2012 20:17:21 +0000 (26 22:17 +0200)
treeeb42f7f0f533072dfec1592394297287307a4f4c
parent6d5aae1d9680657c7021af2974db9b0dc2336f13
Fix the loop unrolling inside resolve_ads().

If we don't get an IP list don't use interpret_string_addr(), as this only returns one address, use interpret_string_addr_internal() instead.

The last 4 patches address bug #8910 (resolve_ads() code can return zero
addresses and miss valid DC IP addresses).
source3/libsmb/namequery.c