krb5_plugin: Fix developer build with newer heimdal system library
authorChristof Schmitt <cs@samba.org>
Mon, 11 Nov 2019 20:37:25 +0000 (13:37 -0700)
committerKarolin Seeger <kseeger@samba.org>
Tue, 19 Nov 2019 12:02:02 +0000 (12:02 +0000)
commitce4ab72c01f08e217f489a89fddb8b9428ecbc6e
treec845580f6cd7af5d34acb8f9a7854db3b67a5a31
parent060ff2dd504e1e4b2e4f6daf456cdd38b8879337
krb5_plugin: Fix developer build with newer heimdal system library

Newer heimdal versions provide a different locator plugin interface. The
function pointer for the old method has been renamed. Use an ifdef to
initialize the correct pointer.

BUG: https://bugzilla.samba.org/show_bug.cgi?id=14179

Signed-off-by: Christof Schmitt <cs@samba.org>
Reviewed-by: Andrew Bartlett <abartlet@samba.org>
(cherry picked from commit 85d23236200dbe013c09a4f23d982ef1baac240d)
nsswitch/krb5_plugin/winbind_krb5_locator.c