*text = "entry modify failed";
goto done;
}
- }
- /* change the entry itself */
- if( id2entry_add( be, e ) != 0 ) {
- *text = "entry update failed";
- rc = LDAP_OTHER;
+ /* change the entry itself */
+ if( id2entry_add( be, e ) != 0 ) {
+ *text = "entry update failed";
+ rc = LDAP_OTHER;
+ }
+
+ replog( be, op, e->e_dn, &ml );
}
done:
fprintf( fp, "dn: %s\n", dn );
switch ( op->o_tag ) {
+ case LDAP_REQ_EXTENDED:
+ /* quick hack for extended operations */
+ /* assume change parameter is a Modfications* */
+ /* fall thru */
+
case LDAP_REQ_MODIFY:
fprintf( fp, "changetype: modify\n" );
ml = change;