From: Howard Chu Date: Mon, 18 Mar 2002 08:59:02 +0000 (+0000) Subject: Fix backend_attribute trying to reference a NULL be. Neither backend_group X-Git-Tag: OPENLDAP_REL_ENG_2_MP~340 X-Git-Url: https://git.sur5r.net/?a=commitdiff_plain;h=bad62d2167c3db55203d71d904d84e4a11d13a62;p=openldap Fix backend_attribute trying to reference a NULL be. Neither backend_group nor backend_attribute need to worry about the noSubs parameter of select_backend(). --- diff --git a/servers/slapd/backend.c b/servers/slapd/backend.c index 4eb1e902fc..07be37e36e 100644 --- a/servers/slapd/backend.c +++ b/servers/slapd/backend.c @@ -997,8 +997,7 @@ backend_group( if ( !dn_match( &target->e_nname, gr_ndn ) ) { /* we won't attempt to send it to a different backend */ - be = select_backend( gr_ndn, 0, - (be->be_flags & SLAP_BFLAG_GLUE_INSTANCE)); + be = select_backend( gr_ndn, 0, 0 ); if (be == NULL) { return LDAP_NO_SUCH_OBJECT; @@ -1057,8 +1056,7 @@ backend_attribute( if ( target == NULL || !dn_match( &target->e_nname, edn ) ) { /* we won't attempt to send it to a different backend */ - be = select_backend( edn, 0, - (be->be_flags & SLAP_BFLAG_GLUE_INSTANCE)); + be = select_backend( edn, 0, 0 ); if (be == NULL) { return LDAP_NO_SUCH_OBJECT;