$NetBSD: patch-cf,v 1.1 2007/10/28 07:28:50 taca 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;