Fix bug #8897 - winbind_krb5_locator only returns one IP address.
authorJeremy Allison <jra@samba.org>
Wed, 25 Apr 2012 22:17:09 +0000 (15:17 -0700)
committerKarolin Seeger <kseeger@samba.org>
Fri, 22 Jun 2012 19:39:43 +0000 (21:39 +0200)
commit940b0167d415e6ebfc3b96c6898e53703d13e7bb
tree1cda317a7964c7c4febb46aa82a1186f14e460b0
parent46fa65cc34b4f5175c5adca5de3b33b520afa885
Fix bug #8897 - winbind_krb5_locator only returns one IP address.

Reported by Dina_Fine@Dell.com.

Don't ask the DC for an IP list when locating kdc's. Ask for the
name and use getaddrinfo to get all possible addresses instead.
(cherry picked from commit 56b0ec0e91f9af0eb6c109fc1cc300ad5fee3fe6)
nsswitch/winbind_krb5_locator.c