diff --git a/source3/registry/reg_backend_db.c b/source3/registry/reg_backend_db.c index 9fa62fb7c47..8c994a0c4e8 100644 --- a/source3/registry/reg_backend_db.c +++ b/source3/registry/reg_backend_db.c @@ -873,14 +873,10 @@ int regdb_fetch_values( const char* key, REGVAL_CTR *values ) if (!keystr) { return 0; } - keystr = normalize_reg_path(ctx, keystr); - if (!keystr) { - goto done; - } values->seqnum = regdb_get_seqnum(); - value = dbwrap_fetch_bystring(regdb, ctx, keystr); + value = regdb_fetch_key_internal(keystr, ctx); if (!value.dptr) { /* all keys have zero values by default */