git.samba.org
/
gd
/
samba-autobuild
/
.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
krb5_plugin: Fix developer build with newer heimdal system library
[gd/samba-autobuild/.git]
/
nsswitch
/
krb5_plugin
/
winbind_krb5_locator.c
diff --git
a/nsswitch/krb5_plugin/winbind_krb5_locator.c
b/nsswitch/krb5_plugin/winbind_krb5_locator.c
index a31c08223708d45491770433ead1bfc3a870679b..d08cdf72a5993ec57ef5c38ceeddcd05841b24f6 100644
(file)
--- a/
nsswitch/krb5_plugin/winbind_krb5_locator.c
+++ b/
nsswitch/krb5_plugin/winbind_krb5_locator.c
@@
-412,7
+412,11
@@
const krb5plugin_service_locate_ftable SMB_KRB5_LOCATOR_SYMBOL_NAME = {
.minor_version = 0,
.init = smb_krb5_locator_init,
.fini = smb_krb5_locator_close,
+#ifdef KRB5_PLUGIN_LOCATE_VERSION_2
+ .old_lookup = smb_krb5_locator_lookup,
+#else
.lookup = smb_krb5_locator_lookup,
+#endif
};
#endif