summaryrefslogtreecommitdiff
path: root/source4/lib/registry/reg_backend_ldb
diff options
context:
space:
mode:
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;;