more on ITS#4868

This commit is contained in:
Pierangelo Masarati 2007-08-11 09:31:48 +00:00
parent d8636d8e60
commit 3119bba337

View file

@ -79,6 +79,11 @@ backsql_attrlist_add( backsql_srch_info *bsi, AttributeDescription *ad )
return 1;
}
/* strip ';binary' */
if ( slap_ad_is_binary( ad ) ) {
ad = ad->ad_type->sat_ad;
}
for ( ; !BER_BVISNULL( &bsi->bsi_attrs[ n_attrs ].an_name ); n_attrs++ ) {
an = &bsi->bsi_attrs[ n_attrs ];