diff options
author | Matthias Dieter Wallnöfer <mwallnoefer@yahoo.de> | 2010-03-21 22:57:31 +0100 |
---|---|---|
committer | Matthias Dieter Wallnöfer <mwallnoefer@yahoo.de> | 2010-03-21 23:02:31 +0100 |
commit | 773faa50632b8cee0008fe5d2c277c924b121756 (patch) | |
tree | 7588d160ea8d1125b8f60932c08bcf522bed2b16 /source4/lib | |
parent | b7f129f5c4686ac22940a09f306c813ce4212aef (diff) | |
download | samba-773faa50632b8cee0008fe5d2c277c924b121756.tar.gz samba-773faa50632b8cee0008fe5d2c277c924b121756.tar.bz2 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.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/source4/lib/registry/ldb.c b/source4/lib/registry/ldb.c index c2acfda16a..f3c6613383 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", |