diff options
author | Matthias Dieter Wallnöfer <mwallnoefer@yahoo.de> | 2010-03-13 21:13:59 +0100 |
---|---|---|
committer | Matthias Dieter Wallnöfer <mwallnoefer@yahoo.de> | 2010-03-14 18:46:21 +0100 |
commit | 95bfd17e080e439ab3185a1544c64bbe17067306 (patch) | |
tree | ee0704476bbd1d46a76b2bfe0f56f8981ed6f044 /source4 | |
parent | f72790daaa6ecef922edcfba38effdc8e5885782 (diff) | |
download | samba-95bfd17e080e439ab3185a1544c64bbe17067306.tar.gz samba-95bfd17e080e439ab3185a1544c64bbe17067306.tar.bz2 samba-95bfd17e080e439ab3185a1544c64bbe17067306.zip |
s4:registry - ldb.c - fix up a strange LDB filter
Diffstat (limited to 'source4')
-rw-r--r-- | source4/lib/registry/ldb.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/source4/lib/registry/ldb.c b/source4/lib/registry/ldb.c index 71824e7732..2b77f8f58a 100644 --- a/source4/lib/registry/ldb.c +++ b/source4/lib/registry/ldb.c @@ -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", |