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;
}
}
}
if (!found_offset) {
- DEBUG(0, ("Subkey not found\n"));
+ DEBUG(2, ("Subkey not found\n"));
return WERR_NOT_FOUND;
}
li.key_count--;
}
}
if (!found_offset) {
- DEBUG(0, ("Subkey not found\n"));
+ DEBUG(2, ("Subkey not found\n"));
return WERR_NOT_FOUND;
}
lf.key_count--;
/* 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;
}