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, 0 insertions, 23 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 deleted file mode 100644 index f6fa7ec..0000000 --- a/recipes-support/openldap/openldap-2.4.39/heimdal-fix.patch +++ /dev/null | |||
@@ -1,23 +0,0 @@ | |||
1 | Author: Mattias Ellert <mattias.ellert@fysast.uu.se> | ||
2 | Description: adapt parameters of hdb_generate_key_set_password() to heimdal 1.6~git20120311 | ||
3 | . | ||
4 | With version heimdal 1.6~git20120311 heimdal schanged the number of parameters | ||
5 | of function hdb_generate_key_set_password(), implementing a fallback to "default" | ||
6 | values when NULL-values are passed for these parameters. | ||
7 | . | ||
8 | This patch does exactly that. | ||
9 | . | ||
10 | Bug-Debian: 664930 | ||
11 | Reviewed-by: Peter Marschall <peter@adpm.de> | ||
12 | |||
13 | --- a/contrib/slapd-modules/smbk5pwd/smbk5pwd.c | ||
14 | +++ b/contrib/slapd-modules/smbk5pwd/smbk5pwd.c | ||
15 | @@ -470,7 +470,7 @@ static int smbk5pwd_exop_passwd( | ||
16 | } | ||
17 | |||
18 | ret = hdb_generate_key_set_password(context, ent.principal, | ||
19 | - qpw->rs_new.bv_val, &ent.keys.val, &nkeys); | ||
20 | + qpw->rs_new.bv_val, NULL, 0, &ent.keys.val, &nkeys); | ||
21 | ent.keys.len = nkeys; | ||
22 | hdb_seal_keys(context, db, &ent); | ||
23 | krb5_free_principal( context, ent.principal ); | ||