From: Kurt Zeilenga Date: Sun, 28 May 2000 17:26:30 +0000 (+0000) Subject: SLAPD_SCHEMA_NOT_COMPAT: Mostly working modrdn X-Git-Tag: LDBM_PRE_GIANT_RWLOCK~2827 X-Git-Url: https://git.sur5r.net/?a=commitdiff_plain;h=9e9be9c28304f92305e8a0596ce48336cd399b13;p=openldap SLAPD_SCHEMA_NOT_COMPAT: Mostly working modrdn --- diff --git a/servers/slapd/back-ldbm/modify.c b/servers/slapd/back-ldbm/modify.c index 892507489d..00c11f07ec 100644 --- a/servers/slapd/back-ldbm/modify.c +++ b/servers/slapd/back-ldbm/modify.c @@ -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 ) diff --git a/servers/slapd/back-ldbm/modrdn.c b/servers/slapd/back-ldbm/modrdn.c index 83474d7787..eeeea36b0e 100644 --- a/servers/slapd/back-ldbm/modrdn.c +++ b/servers/slapd/back-ldbm/modrdn.c @@ -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,