From fb81abecb4e8b212f30607bf86d5b1fd769fb19d Mon Sep 17 00:00:00 2001 From: Amy Fong Date: Tue, 15 Jul 2014 17:48:54 -0400 Subject: keystone: package openLDAP 2.4.39 The patches are taken from Debian. Signed-off-by: Amy Fong --- .../openldap/openldap-2.4.39/heimdal-fix.patch | 23 ++++++++++++++++++++++ 1 file changed, 23 insertions(+) create mode 100644 recipes-support/openldap/openldap-2.4.39/heimdal-fix.patch (limited to 'recipes-support/openldap/openldap-2.4.39/heimdal-fix.patch') diff --git a/recipes-support/openldap/openldap-2.4.39/heimdal-fix.patch b/recipes-support/openldap/openldap-2.4.39/heimdal-fix.patch new file mode 100644 index 0000000..f6fa7ec --- /dev/null +++ b/recipes-support/openldap/openldap-2.4.39/heimdal-fix.patch @@ -0,0 +1,23 @@ +Author: Mattias Ellert +Description: adapt parameters of hdb_generate_key_set_password() to heimdal 1.6~git20120311 + . + With version heimdal 1.6~git20120311 heimdal schanged the number of parameters + of function hdb_generate_key_set_password(), implementing a fallback to "default" + values when NULL-values are passed for these parameters. + . + This patch does exactly that. + . +Bug-Debian: 664930 +Reviewed-by: Peter Marschall + +--- a/contrib/slapd-modules/smbk5pwd/smbk5pwd.c ++++ b/contrib/slapd-modules/smbk5pwd/smbk5pwd.c +@@ -470,7 +470,7 @@ static int smbk5pwd_exop_passwd( + } + + ret = hdb_generate_key_set_password(context, ent.principal, +- qpw->rs_new.bv_val, &ent.keys.val, &nkeys); ++ qpw->rs_new.bv_val, NULL, 0, &ent.keys.val, &nkeys); + ent.keys.len = nkeys; + hdb_seal_keys(context, db, &ent); + krb5_free_principal( context, ent.principal ); -- cgit v1.2.3-54-g00ecf