summaryrefslogtreecommitdiff
path: root/source3
diff options
context:
space:
mode:
authorGünther Deschner <gd@samba.org>2006-10-17 12:06:17 +0000
committerGerald (Jerry) Carter <jerry@samba.org>2007-10-10 12:15:31 -0500
commit257c5c095b60e10323692cd9595a616499a12ed8 (patch)
treebe20df8be7e0f31992b58469d02209b2f29ad527 /source3
parentdbcb4b12669fee8726b1b9a194ac508afd5f237a (diff)
downloadsamba-257c5c095b60e10323692cd9595a616499a12ed8.tar.gz
samba-257c5c095b60e10323692cd9595a616499a12ed8.tar.bz2
samba-257c5c095b60e10323692cd9595a616499a12ed8.zip
r19368: Use WINBINDD_CACHE_TDB_DEFAULT_HASH_SIZE whereever the winbindd tdb is
opened. Guenther (This used to be commit 49e9e1a3e7f6ac1a9cf584c88f3c640ca9d15554)
Diffstat (limited to 'source3')
-rw-r--r--source3/libsmb/samlogon_cache.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/source3/libsmb/samlogon_cache.c b/source3/libsmb/samlogon_cache.c
index 7a6d9a96ad..b242d0ef55 100644
--- a/source3/libsmb/samlogon_cache.c
+++ b/source3/libsmb/samlogon_cache.c
@@ -67,7 +67,8 @@ void netsamlogon_clear_cached_user(TDB_CONTEXT *tdb, NET_USER_INFO_3 *user)
winbindd_cache.tdb open. Open the tdb if a NULL is passed. */
if (!tdb) {
- tdb = tdb_open_log(lock_path("winbindd_cache.tdb"), 5000,
+ tdb = tdb_open_log(lock_path("winbindd_cache.tdb"),
+ WINBINDD_CACHE_TDB_DEFAULT_HASH_SIZE,
TDB_DEFAULT, O_RDWR, 0600);
if (!tdb) {
DEBUG(5, ("netsamlogon_clear_cached_user: failed to open cache\n"));