diff options
Diffstat (limited to 'source4')
-rw-r--r-- | source4/lib/registry/ldb.c | 4 | ||||
-rw-r--r-- | source4/lib/registry/regf.c | 6 |
2 files changed, 5 insertions, 5 deletions
diff --git a/source4/lib/registry/ldb.c b/source4/lib/registry/ldb.c index 8ee4d9f932..8a34fa7a54 100644 --- a/source4/lib/registry/ldb.c +++ b/source4/lib/registry/ldb.c @@ -295,11 +295,11 @@ static WERROR ldb_open_key(TALLOC_CTX *mem_ctx, const struct hive_key *h, ret = ldb_search(c, ldap_path, LDB_SCOPE_BASE, "(key=*)", NULL, &res); if (ret != LDB_SUCCESS) { - DEBUG(0, ("Error opening key '%s': %s\n", + DEBUG(3, ("Error opening key '%s': %s\n", ldb_dn_get_linearized(ldap_path), ldb_errstring(c))); return WERR_FOOBAR; } else if (res->count == 0) { - DEBUG(0, ("Key '%s' not found\n", ldb_dn_get_linearized(ldap_path))); + DEBUG(3, ("Key '%s' not found\n", ldb_dn_get_linearized(ldap_path))); talloc_free(res); return WERR_NOT_FOUND; } diff --git a/source4/lib/registry/regf.c b/source4/lib/registry/regf.c index 7fa71033d9..d74ffd2b4b 100644 --- a/source4/lib/registry/regf.c +++ b/source4/lib/registry/regf.c @@ -1303,7 +1303,7 @@ static WERROR regf_sl_del_entry(struct regf_data *regf, uint32_t list_offset, } } if (!found_offset) { - DEBUG(0, ("Subkey not found\n")); + DEBUG(2, ("Subkey not found\n")); return WERR_NOT_FOUND; } li.key_count--; @@ -1345,7 +1345,7 @@ static WERROR regf_sl_del_entry(struct regf_data *regf, uint32_t list_offset, } } if (!found_offset) { - DEBUG(0, ("Subkey not found\n")); + DEBUG(2, ("Subkey not found\n")); return WERR_NOT_FOUND; } lf.key_count--; @@ -1487,7 +1487,7 @@ static WERROR regf_del_key(const struct hive_key *parent, const char *name) /* Find the key */ if (!W_ERROR_IS_OK(regf_get_subkey_by_name(parent_nk, parent, name, (struct hive_key **)&key))) { - DEBUG(0, ("Key '%s' not found\n", name)); + DEBUG(2, ("Key '%s' not found\n", name)); return WERR_NOT_FOUND; } |