SLAPD did not return any results from a search where the filter is a
negation of an equality match involving a non-indexed attribute. Thanks to
Gordon Good <ggood@netscape.com> for providing the attached fix.
Mark Wahl, Enterprise Directory Integration
Critical Angle Incorporated
--------------3A984D9E1904
Content-type: text/plain; charset="us-ascii"
*** ./servers/slapd/back-ldbm/idl.c.orig Tue Oct 15 19:10:55 1996
--- ./servers/slapd/back-ldbm/idl.c Tue Oct 15 19:11:41 1996
***************
*** 726,737 ****
if ( a == NULL ) {
return( NULL );
}
! if ( b == NULL ) {
return( idl_dup( a ) );
}
- if ( ALLIDS( b ) ) {
- return( NULL );
- }
if ( ALLIDS( a ) ) {
n = idl_alloc( SLAPD_LDBM_MIN_MAXIDS );
--- 726,734 ----
if ( a == NULL ) {
return( NULL );
}
! if ( b == NULL || ALLIDS( b )) {
return( idl_dup( a ) );
}
if ( ALLIDS( a ) ) {
n = idl_alloc( SLAPD_LDBM_MIN_MAXIDS );
--------------3A984D9E1904--