This commit is contained in:
Pierangelo Masarati 2004-06-30 01:17:05 +00:00
parent 7a6b0857b6
commit e779235391
2 changed files with 6 additions and 4 deletions

View File

@ -99,6 +99,8 @@ LDAPRDN_validate( LDAPRDN rdn )
}
}
}
return LDAP_SUCCESS;
}
/*
@ -207,7 +209,6 @@ rdnValidate(
struct berval *in )
{
int rc;
LDAPDN dn = NULL;
LDAPRDN rdn;
char* p;
@ -1018,14 +1019,15 @@ rdnMatch(
}
#ifdef NEW_LOGGING
LDAP_LOG( CONFIG, ENTRY, "dnMatch: %d\n %s\n %s\n",
LDAP_LOG( CONFIG, ENTRY, "rdnMatch: %d\n %s\n %s\n",
match, value->bv_val, asserted->bv_val );
#else
Debug( LDAP_DEBUG_ARGS, "dnMatch %d\n\t\"%s\"\n\t\"%s\"\n",
Debug( LDAP_DEBUG_ARGS, "rdnMatch %d\n\t\"%s\"\n\t\"%s\"\n",
match, value->bv_val, asserted->bv_val );
#endif
*matchp = match;
return( LDAP_SUCCESS );
}

View File

@ -818,7 +818,7 @@ slapi_modrdn_internal(
goto cleanup;
}
if ( rdnValidate( &op->oq_modrdn.rs_nnewrdn ) != LDAP_SUCCESS ) {
if ( rdn_validate( &op->oq_modrdn.rs_nnewrdn ) != LDAP_SUCCESS ) {
goto cleanup;
}