summaryrefslogtreecommitdiff
path: root/source4/lib/registry/reg_backend_ldb
diff options
context:
space:
mode:
authorAndrew Tridgell <tridge@samba.org>2004-04-09 08:06:39 +0000
committerGerald (Jerry) Carter <jerry@samba.org>2007-10-10 12:51:10 -0500
commit42889e5e1e276c8957cc666991364c6f0b6bdc79 (patch)
tree0441dc1741dbbb56997dc80f8ea6b7fb9f59ba95 /source4/lib/registry/reg_backend_ldb
parent72daedbeb7aff1731468ed773c34d52cddbbe039 (diff)
downloadsamba-42889e5e1e276c8957cc666991364c6f0b6bdc79.tar.gz
samba-42889e5e1e276c8957cc666991364c6f0b6bdc79.tar.bz2
samba-42889e5e1e276c8957cc666991364c6f0b6bdc79.zip
r134: - added ldb to the build of smbd
- fixed build of the ldb registry backend (This used to be commit 0b66590330603efaa816fd2348c05a994a1580ef)
Diffstat (limited to 'source4/lib/registry/reg_backend_ldb')
-rw-r--r--source4/lib/registry/reg_backend_ldb/reg_backend_ldb.c5
1 files changed, 2 insertions, 3 deletions
diff --git a/source4/lib/registry/reg_backend_ldb/reg_backend_ldb.c b/source4/lib/registry/reg_backend_ldb/reg_backend_ldb.c
index 3cc1651519..9e561b1e6c 100644
--- a/source4/lib/registry/reg_backend_ldb/reg_backend_ldb.c
+++ b/source4/lib/registry/reg_backend_ldb/reg_backend_ldb.c
@@ -20,7 +20,6 @@
#include "includes.h"
#include "lib/registry/common/registry.h"
-#include "lib/ldb/include/ldb.h"
char *reg_path_to_ldb(TALLOC_CTX *mem_ctx, const char *path)
{
@@ -81,7 +80,7 @@ static WERROR ldb_fetch_subkeys(REG_KEY *k, int *count, REG_KEY ***subkeys)
/* FIXME */
}
- ldap_search_free(c, msg);
+ ldb_search_free(c, msg);
talloc_destroy(mem_ctx);
return WERR_OK;
}
@@ -103,7 +102,7 @@ static WERROR ldb_open_key(REG_HANDLE *h, const char *name, REG_KEY **key)
/* FIXME */
}
- ldap_search_free(c, msg);
+ ldb_search_free(c, msg);
talloc_destroy(mem_ctx);
return WERR_OK;;