Fix abstract schema check

This commit is contained in:
Kurt Zeilenga 2002-08-22 02:27:42 +00:00
parent 1b6c3fc57f
commit 3a15afa057
2 changed files with 3 additions and 4 deletions

View File

@ -98,7 +98,7 @@ static int slap_parseURI( struct berval *uri,
bv.bv_val = uri->bv_val + sizeof("dn:")-1;
bv.bv_val += strspn( bv.bv_val, " " );
is_dn: bv.bv_len = uri->bv_len - (bv.bv_val - uri->bv_val);
is_dn: bv.bv_len = uri->bv_len - (bv.bv_val - uri->bv_val);
rc = dnNormalize2( NULL, &bv, searchbase );
if( rc == LDAP_SUCCESS ) {

View File

@ -260,10 +260,9 @@ entry_schema_check(
if ( xc->soc_kind == LDAP_SCHEMA_AUXILIARY &&
is_object_subclass( oc, xc ) )
{
break;;
xc = NULL;
break;
}
xc = NULL;
}
}