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

--- nsswitch/idmap_tdb.c.orig	2007-05-11 07:09:34.000000000 +0900
+++ nsswitch/idmap_tdb.c
@@ -247,7 +247,7 @@ static NTSTATUS idmap_tdb_open_db(TALLOC
 	}
 
 	/* use the old database if present */
-	tdbfile = talloc_strdup(ctx, lock_path("winbindd_idmap.tdb"));
+	tdbfile = talloc_strdup(ctx, state_path("winbindd_idmap.tdb"));
 	if (!tdbfile) {
 		DEBUG(0, ("Out of memory!\n"));
 		ret = NT_STATUS_NO_MEMORY;