From 6a5a30ec3484d74d79138a1859e846b6e6a30496 Mon Sep 17 00:00:00 2001 From: Howard Chu Date: Thu, 6 Dec 2001 03:29:23 +0000 Subject: [PATCH] Fix previous commit --- 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 5e58904da5..b85862e5fd 100644 --- a/servers/slapd/back-bdb/tools.c +++ b/servers/slapd/back-bdb/tools.c @@ -142,7 +142,7 @@ ID bdb_tool_entry_put( /* add dn2id indices */ pdn = dn_parent( be, e->e_ndn ); - rc = bdb_dn2id_add( be, tid, e->e_ndn, e->e_id ); + rc = bdb_dn2id_add( be, tid, pdn, e ); if( pdn ) free( pdn ); if( rc != 0 ) { Debug( LDAP_DEBUG_ANY, -- 2.39.5