summaryrefslogtreecommitdiff
path: root/net/samba/patches/patch-bp
blob: 2a0ba0b682f03e1968c56947d1d5cf871758865b (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
$NetBSD: patch-bp,v 1.5 2009/10/04 16:58:38 taca Exp $

--- smbd/server.c.orig	2009-09-30 21:21:56.000000000 +0900
+++ smbd/server.c
@@ -1008,6 +1008,9 @@ extern void build_options(BOOL screen);
 	if (!directory_exist(lp_lockdir(), NULL))
 		mkdir(lp_lockdir(), 0755);
 
+	if (!directory_exist(lp_statedir(), NULL))
+		mkdir(lp_statedir(), 0755);
+
 	if (is_daemon)
 		pidfile_create("smbd");