$NetBSD: patch-bb,v 1.1 2005/11/14 08:05:27 jlam Exp $ --- groupdb/mapping.c.orig 2005-10-12 13:03:29.000000000 -0400 +++ groupdb/mapping.c @@ -129,7 +129,7 @@ static BOOL init_group_mapping(void) if (tdb) return True; - tdb = tdb_open_log(lock_path("group_mapping.tdb"), 0, TDB_DEFAULT, O_RDWR|O_CREAT, 0600); + tdb = tdb_open_log(state_path("group_mapping.tdb"), 0, TDB_DEFAULT, O_RDWR|O_CREAT, 0600); if (!tdb) { DEBUG(0,("Failed to open group mapping database\n")); return False;