From: Pierangelo Masarati Date: Fri, 6 Jan 2006 17:44:19 +0000 (+0000) Subject: ITS#4310 seems to affect also back-ldbm X-Git-Tag: OPENLDAP_REL_ENG_2_4_BP~424 X-Git-Url: https://git.sur5r.net/?a=commitdiff_plain;h=a17df0e810578d593808c6afeb0cdea55a65633c;p=openldap ITS#4310 seems to affect also back-ldbm --- diff --git a/servers/slapd/back-ldbm/referral.c b/servers/slapd/back-ldbm/referral.c index 756f99d9e8..ba3e5fb2ec 100644 --- a/servers/slapd/back-ldbm/referral.c +++ b/servers/slapd/back-ldbm/referral.c @@ -63,7 +63,7 @@ ldbm_back_referrals( cache_return_entry_r( &li->li_cache, matched ); - } else if ( default_referral != NULL ) { + } else if ( !be_issuffix( op->o_bd, &op->o_req_ndn ) && default_referral != NULL ) { rc = rs->sr_err = LDAP_OTHER; rs->sr_ref = referral_rewrite( default_referral, NULL, &op->o_req_dn, LDAP_SCOPE_DEFAULT );