diff options
Diffstat (limited to 'net/samba/patches/patch-bo')
-rw-r--r-- | net/samba/patches/patch-bo | 15 |
1 files changed, 15 insertions, 0 deletions
diff --git a/net/samba/patches/patch-bo b/net/samba/patches/patch-bo new file mode 100644 index 00000000000..e0eabe3f1b7 --- /dev/null +++ b/net/samba/patches/patch-bo @@ -0,0 +1,15 @@ +$NetBSD: patch-bo,v 1.1 2005/11/14 08:05:28 jlam Exp $ + +--- nmbd/nmbd.c.orig 2005-10-12 13:03:37.000000000 -0400 ++++ nmbd/nmbd.c +@@ -763,6 +763,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); |