From: Pierangelo Masarati Date: Sat, 22 Dec 2001 14:25:54 +0000 (+0000) Subject: allegedly unnecessary selection of first database to return rootDSE or subschema... X-Git-Tag: LDBM_PRE_GIANT_RWLOCK~578 X-Git-Url: https://git.sur5r.net/?a=commitdiff_plain;h=773316993322cc021e9a18f58b3a55f157d2c1f8;p=openldap allegedly unnecessary selection of first database to return rootDSE or subschema entries; note that the same happens in access_allowed() --- diff --git a/servers/slapd/search.c b/servers/slapd/search.c index 0f9af2b4b2..08402dc8a7 100644 --- a/servers/slapd/search.c +++ b/servers/slapd/search.c @@ -243,7 +243,7 @@ do_search( entry, filter ); if( rc == LDAP_COMPARE_TRUE ) { - send_search_entry( &backends[0], conn, op, + send_search_entry( NULL, conn, op, entry, attrs, attrsonly, NULL ); } entry_free( entry );