mirror of
https://git.openldap.org/openldap/openldap.git
synced 2026-01-21 06:14:40 -05:00
Fix prev commit
This commit is contained in:
parent
73c2e093d4
commit
871201e0d6
1 changed files with 5 additions and 2 deletions
|
|
@ -345,10 +345,12 @@ static int translucent_modify(Operation *op, SlapReply *rs) {
|
|||
Debug(LDAP_DEBUG_TRACE, "=> translucent_modify: found local entry\n", 0, 0, 0);
|
||||
for(mm = &op->orm_modlist; *mm; ) {
|
||||
m = *mm;
|
||||
mm = &m->sml_next;
|
||||
for(a = e->e_attrs; a; a = a->a_next)
|
||||
if(a->a_desc == m->sml_desc) break;
|
||||
if(a) continue; /* found local attr */
|
||||
if(a) {
|
||||
mm = &m->sml_next;
|
||||
continue; /* found local attr */
|
||||
}
|
||||
if(m->sml_op == LDAP_MOD_DELETE) {
|
||||
for(a = re->e_attrs; a; a = a->a_next)
|
||||
if(a->a_desc == m->sml_desc) break;
|
||||
|
|
@ -370,6 +372,7 @@ static int translucent_modify(Operation *op, SlapReply *rs) {
|
|||
continue;
|
||||
}
|
||||
m->sml_op = LDAP_MOD_ADD;
|
||||
mm = &m->sml_next;
|
||||
}
|
||||
erc = SLAP_CB_CONTINUE;
|
||||
release:
|
||||
|
|
|
|||
Loading…
Reference in a new issue