mirror of
https://git.openldap.org/openldap/openldap.git
synced 2025-01-06 10:46:21 +08:00
Fix abstract schema check
This commit is contained in:
parent
1b6c3fc57f
commit
3a15afa057
@ -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 ) {
|
||||
|
@ -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;
|
||||
}
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user