From a48f7b6f93e72e0bca49b166a00b44bc30ffd495 Mon Sep 17 00:00:00 2001 From: Howard Chu Date: Wed, 21 Dec 2005 20:43:14 +0000 Subject: [PATCH] ITS#4278 set ml->sml_type --- servers/slapd/passwd.c | 1 + 1 file changed, 1 insertion(+) diff --git a/servers/slapd/passwd.c b/servers/slapd/passwd.c index cbb69bf9db..af39674c1c 100644 --- a/servers/slapd/passwd.c +++ b/servers/slapd/passwd.c @@ -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; -- 2.39.5