From cdefacccc6749455633496bd9c5e31c666cefe70 Mon Sep 17 00:00:00 2001 From: Luke Howard Date: Mon, 25 Jul 2005 13:19:38 +0000 Subject: [PATCH] Fix ITS#3882 --- servers/slapd/backend.c | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) 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 ); } -- 2.39.5