allow intermixing of mapped/not mapped attrs (spotted while invstigating ITS#5717)

This commit is contained in:
Pierangelo Masarati 2008-09-29 17:38:12 +00:00
parent 1b983cfb77
commit 43d0d989ef

View File

@ -306,7 +306,9 @@ dynlist_sc_update( Operation *op, SlapReply *rs )
ad = a->a_desc;
for ( dlm = dlc->dlc_dli->dli_dlm; dlm; dlm = dlm->dlm_next ) {
if ( dlm->dlm_member_ad == a->a_desc ) {
ad = dlm->dlm_mapped_ad;
if ( dlm->dlm_mapped_ad ) {
ad = dlm->dlm_mapped_ad;
}
break;
}
}