Love Hörnquist Åstrand a écrit :
28 maj 2008 kl. 02.57 skrev Guillaume Rousse:
hdb_entry_set_pw_change_time(context, &ent, 0);
if (krb5_config_get_bool_default(context, NULL, FALSE,
"kadmin", "save-password", NULL)) {
ret = hdb_entry_set_password(context,
context->db, &ent, qpw->rs_new.bv_val);
if (ret != 0)
break;
}
As Howard said, you can drop this part. It needs to be done diffrenlty with the hdb backend.
Other then that the patch looks fine.
I changed it, everything works OK now. Thanks to both of you.
Guillaume Rousse wrote:
Love Hörnquist Åstrand a écrit :
28 maj 2008 kl. 02.57 skrev Guillaume Rousse:
hdb_entry_set_pw_change_time(context, &ent, 0);
if (krb5_config_get_bool_default(context, NULL, FALSE,
"kadmin", "save-password", NULL)) {
ret = hdb_entry_set_password(context,
context->db, &ent, qpw->rs_new.bv_val);
if (ret != 0)
break;
}
As Howard said, you can drop this part. It needs to be done diffrenlty with the hdb backend.
Other then that the patch looks fine.
I changed it, everything works OK now. Thanks to both of you.
In which codebase will the working patch now maintained?
If still in OpenLDAP then which release? I see no problem adding the patch to recent OpenLDAP releases strictly requiring the appropriate heimdal version.
Ciao, Michael.
openldap-software@openldap.org