From 8a69f642b8cbb51fc02d3b8fd461a2691c9da134 Mon Sep 17 00:00:00 2001 From: Howard Chu Date: Tue, 25 Oct 2005 08:40:01 +0000 Subject: [PATCH] hdb doesn't need to fix DNs for slapindex --- servers/slapd/back-bdb/tools.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/servers/slapd/back-bdb/tools.c b/servers/slapd/back-bdb/tools.c index 25cbd8b55f..ff912dc894 100644 --- a/servers/slapd/back-bdb/tools.c +++ b/servers/slapd/back-bdb/tools.c @@ -214,7 +214,7 @@ Entry* bdb_tool_entry_get( BackendDB *be, ID id ) e->e_id = id; } #ifdef BDB_HIER - { + if ( slapMode & SLAP_TOOL_READONLY ) { EntryInfo *ei = NULL; Operation op = {0}; Opheader ohdr = {0}; -- 2.39.5