diff options
Diffstat (limited to 'recipes-support/openldap/openldap-2.4.39/heimdal-fix.patch')
-rw-r--r-- | recipes-support/openldap/openldap-2.4.39/heimdal-fix.patch | 23 |
1 files changed, 23 insertions, 0 deletions
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 00000000..f6fa7ec8 --- /dev/null +++ b/recipes-support/openldap/openldap-2.4.39/heimdal-fix.patch @@ -0,0 +1,23 @@ +Author: Mattias Ellert <mattias.ellert@fysast.uu.se> +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 <peter@adpm.de> + +--- 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 ); |