diff options
Diffstat (limited to 'net/samba/patches/patch-be')
-rw-r--r-- | net/samba/patches/patch-be | 22 |
1 files changed, 11 insertions, 11 deletions
diff --git a/net/samba/patches/patch-be b/net/samba/patches/patch-be index fcca253b753..1ea412f3de9 100644 --- a/net/samba/patches/patch-be +++ b/net/samba/patches/patch-be @@ -1,17 +1,17 @@ -$NetBSD: patch-be,v 1.2 2006/04/01 04:55:35 jlam Exp $ +$NetBSD: patch-be,v 1.2.12.1 2007/11/16 15:19:25 ghen Exp $ ---- nmbd/nmbd_winsserver.c.orig 2006-01-24 18:46:38.000000000 -0500 +--- nmbd/nmbd_winsserver.c.orig 2007-06-26 10:16:47.000000000 +0900 +++ nmbd/nmbd_winsserver.c -@@ -244,7 +244,7 @@ BOOL initialise_wins(void) - - add_samba_names_to_subnet(wins_server_subnet); +@@ -574,7 +574,7 @@ BOOL initialise_wins(void) + } -- if((fp = x_fopen(lock_path(WINS_LIST),O_RDONLY,0)) == NULL) { -+ if((fp = x_fopen(state_path(WINS_LIST),O_RDONLY,0)) == NULL) { - DEBUG(2,("initialise_wins: Can't open wins database file %s. Error was %s\n", - WINS_LIST, strerror(errno) )); - return True; -@@ -1838,7 +1838,7 @@ void wins_write_database(BOOL background + /* 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) )); +@@ -2338,7 +2338,7 @@ void wins_write_database(time_t t, BOOL } } |