$NetBSD: patch-bf,v 1.2 2006/01/02 22:33:36 jlam Exp $ --- nsswitch/winbindd_util.c.orig 2005-12-14 07:45:50.000000000 -0500 +++ nsswitch/winbindd_util.c @@ -1173,7 +1173,7 @@ BOOL winbindd_upgrade_idmap(void) SMB_STRUCT_STAT stbuf; TDB_CONTEXT *idmap_tdb; - pstrcpy(idmap_name, lock_path("winbindd_idmap.tdb")); + pstrcpy(idmap_name, state_path("winbindd_idmap.tdb")); if (!file_exist(idmap_name, &stbuf)) { /* nothing to convert return */