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>
Mon, 7 May 2012 16:20:59 +0000 (18:20 +0200)
commit56b0ec0e91f9af0eb6c109fc1cc300ad5fee3fe6
tree50ec6dc8fb8fe3a65727d649c7719acfaf4233cd
parent3d9a8dd1a97f68df7d91cef5afe4dda80cc03454
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.
nsswitch/winbind_krb5_locator.c