r16774: This patch modifies the tdb API to allow the logging function to be used
[metze/samba/wip.git] / source4 / lib / ldb / ldb_tdb / ldb_tdb.c
index c6b0ab4c633c13ec54cdb49f928fc35a62d7e5d7..15f34db5e1595a28d44698510d3dddcb48adee92 100644 (file)
@@ -969,7 +969,6 @@ static const struct ldb_module_ops ltdb_ops = {
        .sequence_number   = ltdb_sequence_number
 };
 
-
 /*
   connect to the database
 */
@@ -1012,7 +1011,8 @@ static int ltdb_connect(struct ldb_context *ldb, const char *url,
        }
 
        /* note that we use quite a large default hash size */
-       ltdb->tdb = ltdb_wrap_open(ltdb, path, 10000, tdb_flags, open_flags, 0666);
+       ltdb->tdb = ltdb_wrap_open(ltdb, path, 10000, 
+                                  tdb_flags, open_flags, 0666, ldb);
        if (!ltdb->tdb) {
                ldb_debug(ldb, LDB_DEBUG_ERROR, "Unable to open tdb '%s'\n", path);
                talloc_free(ltdb);