From 773316993322cc021e9a18f58b3a55f157d2c1f8 Mon Sep 17 00:00:00 2001 From: Pierangelo Masarati Date: Sat, 22 Dec 2001 14:25:54 +0000 Subject: [PATCH] allegedly unnecessary selection of first database to return rootDSE or subschema entries; note that the same happens in access_allowed() --- servers/slapd/search.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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 );