diff options
author | Jelmer Vernooij <jelmer@samba.org> | 2013-11-23 19:46:29 +0000 |
---|---|---|
committer | Andrew Bartlett <abartlet@samba.org> | 2013-11-28 04:17:55 +0100 |
commit | 92489bfed4e6350b6858d5e39d538f41768912ae (patch) | |
tree | 11e26a82aa2ddfaa57a8100b18e483c1e5c0513b /source4/kdc | |
parent | a0eac12d5a19b1101a5273a1359508998fe5a0c9 (diff) | |
download | samba-92489bfed4e6350b6858d5e39d538f41768912ae.tar.gz samba-92489bfed4e6350b6858d5e39d538f41768912ae.tar.xz samba-92489bfed4e6350b6858d5e39d538f41768912ae.zip |
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 <jelmer@samba.org>
Reviewed-by: Andrew Bartlett <abartlet@samba.org>
Autobuild-User(master): Andrew Bartlett <abartlet@samba.org>
Autobuild-Date(master): Thu Nov 28 04:17:55 CET 2013 on sn-devel-104
Diffstat (limited to 'source4/kdc')
-rw-r--r-- | source4/kdc/hdb-samba4-plugin.c | 2 |
1 files changed, 1 insertions, 1 deletions
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 <address> 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 }; |