SLAPD_SCHEMA_NOT_COMPAT: Mostly working modrdn

This commit is contained in:
Kurt Zeilenga 2000-05-28 17:26:30 +00:00
parent 439c0c796d
commit 9e9be9c283
2 changed files with 3 additions and 2 deletions

View file

@ -369,7 +369,8 @@ delete_values(
#ifdef SLAPD_SCHEMA_NOT_COMPAT
int match;
const char *text;
int rc = value_match( &match, mod->sm_desc, NULL,
int rc = value_match( &match, mod->sm_desc,
mod->sm_desc->ad_type->sat_equality,
mod->sm_bvalues[i], a->a_vals[j], &text );
if( rc == LDAP_SUCCESS && match == 0 )

View file

@ -410,7 +410,7 @@ ldbm_back_modrdn(
const char *text;
mod[1].sml_desc = NULL;
rc = slap_str2ad( old_rdn_type, &mod[0].sml_desc, &text );
rc = slap_str2ad( old_rdn_type, &mod[1].sml_desc, &text );
if( rc != LDAP_SUCCESS ) {
Debug( LDAP_DEBUG_TRACE,