mirror of
https://git.openldap.org/openldap/openldap.git
synced 2025-12-24 00:29:35 -05:00
fix operational attributes collection (ITS#3882)
This commit is contained in:
parent
6d6a4b7dda
commit
f423e65d58
1 changed files with 4 additions and 4 deletions
|
|
@ -1634,13 +1634,13 @@ fe_aux_operational(
|
|||
ap = &(*ap)->a_next;
|
||||
}
|
||||
|
||||
if ( op->o_bd != NULL && op->o_bd != frontendDB )
|
||||
if ( op->o_bd != NULL )
|
||||
{
|
||||
/* Let the overlays have a chance at this */
|
||||
be_orig = op->o_bd;
|
||||
op->o_bd = select_backend( &op->o_ndn, 0, 0 );
|
||||
|
||||
if ( ( SLAP_OPATTRS( rs->sr_attr_flags ) || rs->sr_attrs ) &&
|
||||
op->o_bd = select_backend( &op->o_req_ndn, 0, 0 );
|
||||
if ( op->o_bd != frontendDB &&
|
||||
( SLAP_OPATTRS( rs->sr_attr_flags ) || rs->sr_attrs ) &&
|
||||
op->o_bd != NULL && op->o_bd->be_operational != NULL )
|
||||
{
|
||||
rc = op->o_bd->be_operational( op, rs );
|
||||
|
|
|
|||
Loading…
Reference in a new issue