$NetBSD: patch-bd,v 1.2 2006/01/02 22:33:36 jlam Exp $

--- lib/account_pol.c.orig	2005-12-20 10:28:38.000000000 -0500
+++ lib/account_pol.c
@@ -262,7 +262,7 @@ BOOL init_account_policy(void)
 		return True;
 	}
 
-	tdb = tdb_open_log(lock_path("account_policy.tdb"), 0, TDB_DEFAULT, O_RDWR|O_CREAT, 0600);
+	tdb = tdb_open_log(state_path("account_policy.tdb"), 0, TDB_DEFAULT, O_RDWR|O_CREAT, 0600);
 	if (!tdb) {
 		DEBUG(0,("Failed to open account policy database\n"));
 		return False;
