summaryrefslogtreecommitdiff
path: root/net/samba/patches/patch-cg
blob: 380cbe3202dba47062f5a495a6ba8b6220e3277d (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
$NetBSD: patch-cg,v 1.1.2.2 2007/11/16 15:19:28 ghen 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) {