From 66c173deb9726940198088742bbfa6c3e3e2d36d Mon Sep 17 00:00:00 2001 From: Pierangelo Masarati Date: Thu, 18 Aug 2005 12:14:07 +0000 Subject: [PATCH] a bit redundant, but works around ITS#3951 --- servers/slapd/ad.c | 14 ++++++++++++++ 1 file changed, 14 insertions(+) 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 -- 2.39.5