mirror of
https://git.openldap.org/openldap/openldap.git
synced 2026-01-09 08:23:35 -05:00
SLAPD_SCHEMA_NOT_COMPAT: Mostly working modrdn
This commit is contained in:
parent
439c0c796d
commit
9e9be9c283
2 changed files with 3 additions and 2 deletions
|
|
@ -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 )
|
||||
|
|
|
|||
|
|
@ -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,
|
||||
|
|
|
|||
Loading…
Reference in a new issue