summaryrefslogtreecommitdiffstats
path: root/source4/lib
diff options
context:
space:
mode:
authorMatthias Dieter Wallnöfer <mwallnoefer@yahoo.de>2010-03-21 22:57:31 +0100
committerMatthias Dieter Wallnöfer <mwallnoefer@yahoo.de>2010-03-21 23:02:31 +0100
commit773faa50632b8cee0008fe5d2c277c924b121756 (patch)
tree7588d160ea8d1125b8f60932c08bcf522bed2b16 /source4/lib
parentb7f129f5c4686ac22940a09f306c813ce4212aef (diff)
downloadsamba-773faa50632b8cee0008fe5d2c277c924b121756.tar.gz
samba-773faa50632b8cee0008fe5d2c277c924b121756.tar.xz
samba-773faa50632b8cee0008fe5d2c277c924b121756.zip
s4:registry - "LDB backend" - "ldb_get_default_value"
There exist also key objects (the hives) which don't contain a "key" entry at all. This prevented to display their default value (my fault).
Diffstat (limited to 'source4/lib')
-rw-r--r--source4/lib/registry/ldb.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/source4/lib/registry/ldb.c b/source4/lib/registry/ldb.c
index c2acfda16a2..f3c66133833 100644
--- a/source4/lib/registry/ldb.c
+++ b/source4/lib/registry/ldb.c
@@ -497,7 +497,7 @@ static WERROR ldb_get_default_value(TALLOC_CTX *mem_ctx,
struct ldb_result *res;
int ret;
- ret = ldb_search(c, mem_ctx, &res, kd->dn, LDB_SCOPE_BASE, attrs, "(key=*)");
+ ret = ldb_search(c, mem_ctx, &res, kd->dn, LDB_SCOPE_BASE, attrs, "(dn=*)");
if (ret != LDB_SUCCESS) {
DEBUG(0, ("Error getting default value for '%s': %s\n",