blob: f410d13c8556664f40ec0319f08709a1ecd66dc1 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
|
$NetBSD: patch-bi,v 1.4 2007/02/11 18:39:04 tron Exp $
--- lib/sharesec.c.orig 2006-04-20 03:29:23.000000000 +0100
+++ lib/sharesec.c 2007-02-11 17:46:13.000000000 +0000
@@ -47,7 +47,7 @@
return True;
}
- share_tdb = tdb_open_log(lock_path("share_info.tdb"), 0, TDB_DEFAULT, O_RDWR|O_CREAT, 0600);
+ share_tdb = tdb_open_log(state_path("share_info.tdb"), 0, TDB_DEFAULT, O_RDWR|O_CREAT, 0600);
if (!share_tdb) {
DEBUG(0,("Failed to open share info database %s (%s)\n",
lock_path("share_info.tdb"), strerror(errno) ));
|