]> git.sur5r.net Git - openldap/commitdiff
hdb doesn't need to fix DNs for slapindex
authorHoward Chu <hyc@openldap.org>
Tue, 25 Oct 2005 08:40:01 +0000 (08:40 +0000)
committerHoward Chu <hyc@openldap.org>
Tue, 25 Oct 2005 08:40:01 +0000 (08:40 +0000)
servers/slapd/back-bdb/tools.c

index 25cbd8b55f26000092f67ad12696b46a13239a1c..ff912dc8948ca6ba286b975c5926f826b8002ee8 100644 (file)
@@ -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};