mirror of
https://git.openldap.org/openldap/openldap.git
synced 2024-12-21 03:10:25 +08:00
ITS#5907 use overlay BackendInfo to read old entry.
This commit is contained in:
parent
fec2062629
commit
e8ef7e631d
@ -1770,7 +1770,7 @@ accesslog_op_mod( Operation *op, SlapReply *rs )
|
|||||||
int rc;
|
int rc;
|
||||||
Entry *e;
|
Entry *e;
|
||||||
|
|
||||||
op->o_bd->bd_info = on->on_info->oi_orig;
|
op->o_bd->bd_info = (BackendInfo *)on->on_info;
|
||||||
rc = be_entry_get_rw( op, &op->o_req_ndn, NULL, NULL, 0, &e );
|
rc = be_entry_get_rw( op, &op->o_req_ndn, NULL, NULL, 0, &e );
|
||||||
if ( e ) {
|
if ( e ) {
|
||||||
if ( test_filter( op, e, li->li_oldf ) == LDAP_COMPARE_TRUE )
|
if ( test_filter( op, e, li->li_oldf ) == LDAP_COMPARE_TRUE )
|
||||||
|
Loading…
Reference in New Issue
Block a user