From 92489bfed4e6350b6858d5e39d538f41768912ae Mon Sep 17 00:00:00 2001 From: Jelmer Vernooij Date: Sat, 23 Nov 2013 19:46:29 +0000 Subject: 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 --- source4/kdc/hdb-samba4-plugin.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'source4/kdc') 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 }; -- cgit