]> git.sur5r.net Git - openldap/commitdiff
a bit redundant, but works around ITS#3951
authorPierangelo Masarati <ando@openldap.org>
Thu, 18 Aug 2005 12:14:07 +0000 (12:14 +0000)
committerPierangelo Masarati <ando@openldap.org>
Thu, 18 Aug 2005 12:14:07 +0000 (12:14 +0000)
servers/slapd/ad.c

index 5258dc3fc3d2902b4c8a4c9f92ee6532a20eaaed..38bda68141f8f6e4ec0ee1ee4a4158ebf6945500 100644 (file)
@@ -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