From: Jelmer Vernooij Date: Sat, 23 Nov 2013 19:46:29 +0000 (+0000) Subject: Cope with first element in hdb_method having a different name in different heimdal... X-Git-Tag: samba-4.0.15~9 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=4b914d346e07a65a4eef567ffd82e8baee3e24cf;p=thirdparty%2Fsamba.git Cope with first element in hdb_method having a different name in different heimdal versions. It's called `interface_version` in older Heimdal versions and `version` in newer versions. Signed-off-by: Jelmer Vernooij Reviewed-by: Andrew Bartlett Autobuild-User(master): Andrew Bartlett Autobuild-Date(master): Thu Nov 28 04:17:55 CET 2013 on sn-devel-104 (cherry picked from commit 92489bfed4e6350b6858d5e39d538f41768912ae) --- diff --git a/source4/kdc/hdb-samba4-plugin.c b/source4/kdc/hdb-samba4-plugin.c index 568386d29aa..9135df8f78e 100644 --- a/source4/kdc/hdb-samba4-plugin.c +++ b/source4/kdc/hdb-samba4-plugin.c @@ -78,7 +78,7 @@ static krb5_error_code hdb_samba4_create(krb5_context context, struct HDB **db, * The
is the string form of a pointer to a talloced struct hdb_samba_context */ struct hdb_method hdb_samba4_interface = { - .interface_version = HDB_INTERFACE_VERSION, + HDB_INTERFACE_VERSION, .prefix = "samba4", .create = hdb_samba4_create };