summaryrefslogtreecommitdiff
path: root/net/samba30/patches/patch-cg
blob: b365976b87dffbb262d2f71fc0c70803a6b47ebb (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
$NetBSD: patch-cg,v 1.1.1.1 2011/12/15 22:23:24 asau Exp $

--- passdb/pdb_tdb.c.orig	2007-03-01 13:54:41.000000000 +0900
+++ passdb/pdb_tdb.c
@@ -1559,7 +1559,7 @@ static BOOL tdbsam_new_rid(struct pdb_me
 	uint32 rid;
 	BOOL ret = False;
 
-	tdb = tdb_open_log(lock_path("winbindd_idmap.tdb"), 0,
+	tdb = tdb_open_log(state_path("winbindd_idmap.tdb"), 0,
 			   TDB_DEFAULT, O_RDWR | O_CREAT, 0644);
 
 	if (tdb == NULL) {