ITS#7029,#7031 More for prev commit

This commit is contained in:
Howard Chu 2011-08-26 16:56:18 -07:00
parent 889154d798
commit c617f3c3b9

View File

@ -1848,6 +1848,9 @@ static Modifications *mods_dup( Operation *op, Modifications *modlist, int match
} else {
mod->sml_nvalues = NULL;
}
} else {
mod->sml_values = NULL;
mod->sml_nvalues = NULL;
}
if ( match < 0 && modlist->sml_op == LDAP_MOD_REPLACE )
mod->sml_op = LDAP_MOD_ADD;