From: Pierangelo Masarati Date: Thu, 18 Aug 2005 12:14:07 +0000 (+0000) Subject: a bit redundant, but works around ITS#3951 X-Git-Tag: OPENLDAP_REL_ENG_2_2_MP~665 X-Git-Url: https://git.sur5r.net/?a=commitdiff_plain;h=66c173deb9726940198088742bbfa6c3e3e2d36d;p=openldap a bit redundant, but works around ITS#3951 --- diff --git a/servers/slapd/ad.c b/servers/slapd/ad.c index 5258dc3fc3..38bda68141 100644 --- a/servers/slapd/ad.c +++ b/servers/slapd/ad.c @@ -557,6 +557,20 @@ int ad_inlist( continue; } + if ( ber_bvccmp( &attrs->an_name, '*' ) ) { + if ( !is_at_operational( desc->ad_type ) ) { + return 1; + } + continue; + } + + if ( ber_bvccmp( &attrs->an_name, '+' ) ) { + if ( is_at_operational( desc->ad_type ) ) { + return 1; + } + continue; + } + /* * EXTENSION: see if requested description is @objectClass * if so, return attributes which the class requires/allows