summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--source4/lib/ldb/common/ldb.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/source4/lib/ldb/common/ldb.c b/source4/lib/ldb/common/ldb.c
index 20557bd83d..3e725a5c09 100644
--- a/source4/lib/ldb/common/ldb.c
+++ b/source4/lib/ldb/common/ldb.c
@@ -128,12 +128,12 @@ int ldb_register_backend(const char *url_prefix, ldb_connect_fn connectfn)
struct backends_list_entry *entry;
backend = talloc(talloc_autofree_context(), struct ldb_backend_ops);
- if (!backend) return LDB_OPERATIONS_ERROR;
+ if (!backend) return LDB_ERR_OPERATIONS_ERROR;
entry = talloc(talloc_autofree_context(), struct backends_list_entry);
if (!entry) {
talloc_free(backend);
- return LDB_OPERATIONS_ERROR;
+ return LDB_ERR_OPERATIONS_ERROR;
}
if (ldb_find_backend(url_prefix)) {