summaryrefslogtreecommitdiff
path: root/source3/nmbd
diff options
context:
space:
mode:
authorSteven Danneman <steven.danneman@isilon.com>2009-01-11 22:56:48 -0800
committerSteven Danneman <steven.danneman@isilon.com>2009-01-12 17:46:15 -0800
commit4a578ec50b672d564150c956d5e479b4a3e9031b (patch)
tree4ac76c556768321546c92a026d22e9d6f5921210 /source3/nmbd
parent7b02e05eb64f3ffd7aa1cf027d10a7343c0da757 (diff)
downloadsamba-4a578ec50b672d564150c956d5e479b4a3e9031b.tar.gz
samba-4a578ec50b672d564150c956d5e479b4a3e9031b.tar.bz2
samba-4a578ec50b672d564150c956d5e479b4a3e9031b.zip
Covert several persistant tdb files to use state_path() instead of lock_path()
Diffstat (limited to 'source3/nmbd')
-rw-r--r--source3/nmbd/nmbd_winsserver.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/source3/nmbd/nmbd_winsserver.c b/source3/nmbd/nmbd_winsserver.c
index 70118063b4..fecc5baac6 100644
--- a/source3/nmbd/nmbd_winsserver.c
+++ b/source3/nmbd/nmbd_winsserver.c
@@ -583,7 +583,7 @@ bool initialise_wins(void)
}
/* Open the wins.tdb. */
- wins_tdb = tdb_open_log(lock_path("wins.tdb"), 0, TDB_DEFAULT|TDB_CLEAR_IF_FIRST, O_CREAT|O_RDWR, 0600);
+ wins_tdb = tdb_open_log(state_path("wins.tdb"), 0, TDB_DEFAULT|TDB_CLEAR_IF_FIRST, O_CREAT|O_RDWR, 0600);
if (!wins_tdb) {
DEBUG(0,("initialise_wins: failed to open wins.tdb. Error was %s\n",
strerror(errno) ));