fix previous commit (modifyTimestamp didn't get appended to the list); add opattrs to back-monitor mods

This commit is contained in:
Pierangelo Masarati 2005-10-14 10:02:50 +00:00
parent 0b153841a6
commit b90a496187
2 changed files with 5 additions and 0 deletions

View File

@ -69,6 +69,9 @@ monitor_back_modify( Operation *op, SlapReply *rs )
rc = LDAP_INSUFFICIENT_ACCESS; rc = LDAP_INSUFFICIENT_ACCESS;
} else { } else {
assert( !SLAP_SHADOW( op->o_bd ) );
slap_mods_opattrs( op, op->orm_modlist, 0 );
rc = monitor_entry_modify( op, rs, e ); rc = monitor_entry_modify( op, rs, e );
} }

View File

@ -920,6 +920,8 @@ void slap_mods_opattrs(
BER_BVZERO( &mod->sml_values[1] ); BER_BVZERO( &mod->sml_values[1] );
assert( !BER_BVISNULL( &mod->sml_values[0] ) ); assert( !BER_BVISNULL( &mod->sml_values[0] ) );
mod->sml_nvalues = NULL; mod->sml_nvalues = NULL;
*modtail = mod;
modtail = &mod->sml_next;
} }
} }
} }