summaryrefslogtreecommitdiff
path: root/net/samba/patches/patch-bd
blob: ed8c5b253112989fa033f792f53f8534095bb930 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
$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;