diff options
Diffstat (limited to 'source4/lib/ldb/ldb_tdb')
-rw-r--r-- | source4/lib/ldb/ldb_tdb/ldb_tdb.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/source4/lib/ldb/ldb_tdb/ldb_tdb.c b/source4/lib/ldb/ldb_tdb/ldb_tdb.c index 34cff41794..a4eb83a20e 100644 --- a/source4/lib/ldb/ldb_tdb/ldb_tdb.c +++ b/source4/lib/ldb/ldb_tdb/ldb_tdb.c @@ -524,7 +524,8 @@ struct ldb_context *ltdb_connect(const char *url, open_flags = O_CREAT | O_RDWR; } - tdb = tdb_open(path, 0, tdb_flags, open_flags, 0666); + /* note that we use quite a large default hash size */ + tdb = tdb_open(path, 10000, tdb_flags, open_flags, 0666); if (!tdb) { return NULL; } |