*** servers/slapd/result.c.orig Thu Feb 27 12:52:50 2003 --- servers/slapd/result.c Thu Feb 27 12:55:07 2003 *************** *** 879,885 **** if ( attrs == NULL ) { /* all attrs request, skip operational attributes */ if( is_at_operational( desc->ad_type ) ) { ! continue; } } else { --- 879,888 ---- if ( attrs == NULL ) { /* all attrs request, skip operational attributes */ if( is_at_operational( desc->ad_type ) ) { ! ! if (strcasecmp( rs->sr_entry->e_dn, LDAP_ROOT_DSE )) { ! continue; ! } } } else { *************** *** 1074,1080 **** if ( attrs == NULL ) { /* all attrs request, skip operational attributes */ if( is_at_operational( desc->ad_type ) ) { ! continue; } } else { --- 1077,1087 ---- if ( attrs == NULL ) { /* all attrs request, skip operational attributes */ if( is_at_operational( desc->ad_type ) ) { ! ! /* Hack for Solaris */ ! if (strcasecmp( rs->sr_entry->e_dn, LDAP_ROOT_DSE )) { ! continue; ! } } } else {