From: Pierangelo Masarati Date: Mon, 29 Sep 2008 17:38:12 +0000 (+0000) Subject: allow intermixing of mapped/not mapped attrs (spotted while invstigating ITS#5717) X-Git-Tag: ACLCHECK_0~1308 X-Git-Url: https://git.sur5r.net/?a=commitdiff_plain;h=43d0d989efa45237d53edf551805c2a045173a99;p=openldap allow intermixing of mapped/not mapped attrs (spotted while invstigating ITS#5717) --- diff --git a/servers/slapd/overlays/dynlist.c b/servers/slapd/overlays/dynlist.c index 29b1d5bc13..647a2ca6c3 100644 --- a/servers/slapd/overlays/dynlist.c +++ b/servers/slapd/overlays/dynlist.c @@ -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; } }