]> git.sur5r.net Git - openldap/commitdiff
ITS#4278 set ml->sml_type
authorHoward Chu <hyc@openldap.org>
Wed, 21 Dec 2005 20:43:14 +0000 (20:43 +0000)
committerHoward Chu <hyc@openldap.org>
Wed, 21 Dec 2005 20:43:14 +0000 (20:43 +0000)
servers/slapd/passwd.c

index cbb69bf9db1e21a643a82db42a3b149198ee98f5..af39674c1c8e5969848bae6df5cdb55154d58179 100644 (file)
@@ -256,6 +256,7 @@ old_good:
        ml->sml_values[i].bv_val = NULL;
        ml->sml_nvalues = NULL;
        ml->sml_desc = slap_schema.si_ad_userPassword;
+       ml->sml_type = ml->sml_desc->ad_cname;
        ml->sml_op = LDAP_MOD_REPLACE;
        ml->sml_flags = 0;
        ml->sml_next = qpw->rs_mods;