diff --git a/servers/slapd/back-ldbm/id2entry.c b/servers/slapd/back-ldbm/id2entry.c index b5a7ec7fef..d45fb017b0 100644 --- a/servers/slapd/back-ldbm/id2entry.c +++ b/servers/slapd/back-ldbm/id2entry.c @@ -186,7 +186,7 @@ id2entry_rw( Backend *be, ID id, int rw ) return( NULL ); } - e = str2entry( data.dptr ); + e = str2entry2( data.dptr, 0 ); ldbm_datum_free( db->dbc_db, data ); ldbm_cache_close( be, db ); diff --git a/servers/slapd/back-ldbm/tools.c b/servers/slapd/back-ldbm/tools.c index 17f4571af1..4fffb1f9d5 100644 --- a/servers/slapd/back-ldbm/tools.c +++ b/servers/slapd/back-ldbm/tools.c @@ -158,7 +158,7 @@ Entry* ldbm_tool_entry_get( BackendDB *be, ID id ) return NULL; } - e = str2entry( data.dptr ); + e = str2entry2( data.dptr, 0 ); ldbm_datum_free( id2entry->dbc_db, data ); if( e != NULL ) {