blob: 22e782fe904857b78bcacd28e1d175de5dfce297 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
|
$NetBSD: patch-cf,v 1.1.2.2 2007/11/16 15:19:28 ghen 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;
|