svn commit: samba r19368 - in branches/SAMBA_3_0/source/libsmb: .

gd at samba.org gd at samba.org
Tue Oct 17 12:06:17 GMT 2006


Author: gd
Date: 2006-10-17 12:06:17 +0000 (Tue, 17 Oct 2006)
New Revision: 19368

WebSVN: http://websvn.samba.org/cgi-bin/viewcvs.cgi?view=rev&root=samba&rev=19368

Log:
Use WINBINDD_CACHE_TDB_DEFAULT_HASH_SIZE whereever the winbindd tdb is
opened.

Guenther

Modified:
   branches/SAMBA_3_0/source/libsmb/samlogon_cache.c


Changeset:
Modified: branches/SAMBA_3_0/source/libsmb/samlogon_cache.c
===================================================================
--- branches/SAMBA_3_0/source/libsmb/samlogon_cache.c	2006-10-17 09:35:45 UTC (rev 19367)
+++ branches/SAMBA_3_0/source/libsmb/samlogon_cache.c	2006-10-17 12:06:17 UTC (rev 19368)
@@ -67,7 +67,8 @@
            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"));



More information about the samba-cvs mailing list