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)
committerChristof Schmitt <cs@samba.org>
Wed, 13 Nov 2019 17:49:38 +0000 (17:49 +0000)
commit85d23236200dbe013c09a4f23d982ef1baac240d
tree61f64b6801eac89839d17e75f79b1da4778bdefe
parent1aef796e302058ad3327613964fa89abaf940c1c
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>
nsswitch/krb5_plugin/winbind_krb5_locator.c