r17124: fixed a bug which caused resolve_ads() to spin forever if one of the
commitd7ec9f3cc0439e9e0f4c98988b14ae2155d931b9
authorAndrew Tridgell <tridge@samba.org>
Wed, 19 Jul 2006 00:13:01 +0000 (19 00:13 +0000)
committerGerald (Jerry) Carter <jerry@samba.org>
Wed, 10 Oct 2007 16:38:13 +0000 (10 11:38 -0500)
treedfd4172c3e93afb774feb16e7c73f0aff0df7e38
parentbc03141429273703c540d6120b0c5ca4d0949266
r17124: fixed a bug which caused resolve_ads() to spin forever if one of the
DCs isn't resolvable in DNS. The fix is to leave that DC out of the
returned list of DCs. I think the original code intended that anyway,
just didn't quite get it right ('i' wasn't incremented in that code
path, so the loop didn't terminate)
source/libsmb/namequery.c