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