From: Luke Howard Date: Mon, 25 Jul 2005 13:19:38 +0000 (+0000) Subject: Fix ITS#3882 X-Git-Tag: OPENLDAP_AC_BP~206 X-Git-Url: https://git.sur5r.net/?a=commitdiff_plain;h=cdefacccc6749455633496bd9c5e31c666cefe70;p=openldap Fix ITS#3882 --- diff --git a/servers/slapd/backend.c b/servers/slapd/backend.c index 34d004d662..95ae72d782 100644 --- a/servers/slapd/backend.c +++ b/servers/slapd/backend.c @@ -1637,11 +1637,10 @@ fe_aux_operational( { /* Let the overlays have a chance at this */ be_orig = op->o_bd; - if ( SLAP_ISOVERLAY( be_orig ) ) - op->o_bd = select_backend( be_orig->be_nsuffix, 0, 0 ); + op->o_bd = select_backend( &op->o_ndn, 0, 0 ); if ( ( SLAP_OPATTRS( rs->sr_attr_flags ) || rs->sr_attrs ) && - op->o_bd && op->o_bd->be_operational != NULL ) + op->o_bd != NULL && op->o_bd->be_operational != NULL ) { rc = op->o_bd->be_operational( op, rs ); }