-
- ber_str2bv( on->on_bi.bi_type, 0, 0, &bv );
- attr_merge_normalize_one( e, mi->mi_ad_monitorOverlay,
- &bv, NULL );
-
- /* find the overlay number, j */
- for ( on2 = overlay_next( NULL ), j = 0; on2; on2 = overlay_next( on2 ), j++ ) {
- if ( on2->on_bi.bi_type == on->on_bi.bi_type ) {
- break;
- }
- }
- assert( on2 != NULL );
-
- snprintf( buf, sizeof( buf ),
- "cn=Overlay %d,%s",
- j, ms_overlay->mss_dn.bv_val );
- ber_str2bv( buf, 0, 0, &bv );
- attr_merge_normalize_one( e,
- slap_schema.si_ad_seeAlso,
- &bv, NULL );