diff options
Diffstat (limited to 'net/samba30/patches/patch-bo')
-rw-r--r-- | net/samba30/patches/patch-bo | 15 |
1 files changed, 15 insertions, 0 deletions
diff --git a/net/samba30/patches/patch-bo b/net/samba30/patches/patch-bo new file mode 100644 index 00000000000..8c14ec32564 --- /dev/null +++ b/net/samba30/patches/patch-bo @@ -0,0 +1,15 @@ +$NetBSD: patch-bo,v 1.1.1.1 2011/12/15 22:23:24 asau Exp $ + +--- nmbd/nmbd.c.orig 2009-09-30 21:21:56.000000000 +0900 ++++ nmbd/nmbd.c +@@ -769,6 +769,10 @@ static BOOL open_sockets(BOOL isdaemon, + mkdir(lp_lockdir(), 0755); + } + ++ if (!directory_exist(lp_statedir(), NULL)) { ++ mkdir(lp_statedir(), 0755); ++ } ++ + pidfile_create("nmbd"); + message_init(); + message_register(MSG_FORCE_ELECTION, nmbd_message_election, NULL); |