1
0
mirror of https://github.com/samba-team/samba.git synced 2024-12-28 07:21:54 +03:00

s4:registry - ldb.c - fix up a strange LDB filter

This commit is contained in:
Matthias Dieter Wallnöfer 2010-03-13 21:13:59 +01:00
parent f72790daaa
commit 95bfd17e08

View File

@ -361,7 +361,7 @@ static WERROR ldb_get_default_value(TALLOC_CTX *mem_ctx, struct hive_key *k,
struct ldb_result *res;
int ret;
ret = ldb_search(c, mem_ctx, &res, kd->dn, LDB_SCOPE_BASE, attrs, "%s", "");
ret = ldb_search(c, mem_ctx, &res, kd->dn, LDB_SCOPE_BASE, attrs, "(key=*)");
if (ret != LDB_SUCCESS) {
DEBUG(0, ("Error getting default value for '%s': %s\n",