From: Kurt Zeilenga Date: Sat, 31 Aug 2002 20:49:50 +0000 (+0000) Subject: Make sure we don't expose hidden attribute types in rule uses X-Git-Tag: NO_SLAP_OP_BLOCKS~1052 X-Git-Url: https://git.sur5r.net/?a=commitdiff_plain;h=5c61f55faa47829f460646c8ce8ce09b1abb2622;p=openldap Make sure we don't expose hidden attribute types in rule uses --- diff --git a/servers/slapd/mr.c b/servers/slapd/mr.c index 5168cba256..8a203b9784 100644 --- a/servers/slapd/mr.c +++ b/servers/slapd/mr.c @@ -382,6 +382,7 @@ matching_rule_use_init( void ) at = NULL; for ( at_start( &at ); at; at_next( &at ) ) { + if( at->sat_flags & SLAP_AT_HIDE ) continue; if( mr->smr_usage & SLAP_MR_EXT && ( mr->smr_syntax == at->sat_syntax || mr == at->sat_equality ||