$NetBSD: patch-ci,v 1.1.1.1 2011/12/15 22:23:24 asau Exp $

--- libsmb/samlogon_cache.c.orig	2009-09-30 21:21:56.000000000 +0900
+++ libsmb/samlogon_cache.c
@@ -34,7 +34,7 @@ static TDB_CONTEXT *netsamlogon_tdb = NU
 BOOL netsamlogon_cache_init(void)
 {
 	if (!netsamlogon_tdb) {
-		netsamlogon_tdb = tdb_open_log(lock_path(NETSAMLOGON_TDB), 0,
+		netsamlogon_tdb = tdb_open_log(state_path(NETSAMLOGON_TDB), 0,
 						   TDB_DEFAULT, O_RDWR | O_CREAT, 0600);
 	}
 
