$NetBSD: patch-bd,v 1.1 2005/11/14 08:05:28 jlam Exp $

--- lib/account_pol.c.orig	2005-10-12 13:03:31.000000000 -0400
+++ lib/account_pol.c
@@ -47,7 +47,7 @@ BOOL init_account_policy(void)
 
 	if (tdb)
 		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;
