mirror of
https://git.openldap.org/openldap/openldap.git
synced 2025-12-31 12:09:35 -05:00
check validity of naming context
This commit is contained in:
parent
018526ff14
commit
166f9afa34
1 changed files with 4 additions and 0 deletions
|
|
@ -188,6 +188,10 @@ monitor_cache_dn2entry(
|
|||
|
||||
*matched = NULL;
|
||||
|
||||
if ( !dnIsSuffix( ndn, &op->o_bd->be_nsuffix[ 0 ] ) ) {
|
||||
return( -1 );
|
||||
}
|
||||
|
||||
rc = monitor_cache_get( mi, ndn, ep );
|
||||
if ( !rc && *ep != NULL ) {
|
||||
return( 0 );
|
||||
|
|
|
|||
Loading…
Reference in a new issue