From: Howard Chu Date: Tue, 25 Oct 2005 08:40:01 +0000 (+0000) Subject: hdb doesn't need to fix DNs for slapindex X-Git-Tag: OPENLDAP_REL_ENG_2_2_MP~199 X-Git-Url: https://git.sur5r.net/?a=commitdiff_plain;h=8a69f642b8cbb51fc02d3b8fd461a2691c9da134;p=openldap hdb doesn't need to fix DNs for slapindex --- 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};