$NetBSD$ --- modules/vfs_xattr_tdb.c.orig 2010-01-14 10:12:10.000000000 +0000 +++ modules/vfs_xattr_tdb.c @@ -576,7 +576,7 @@ static bool xattr_tdb_init(int snum, str const char *dbname; dbname = lp_parm_const_string(snum, "xattr_tdb", "file", - lock_path("xattr.tdb")); + state_path("xattr.tdb")); if (dbname == NULL) { errno = ENOSYS;