summaryrefslogtreecommitdiff
path: root/net/samba35/patches/patch-av
blob: ecd01cb905d4752555c7447bcf50885c7405614b (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
$NetBSD: patch-av,v 1.3 2013/08/12 02:47:32 taca Exp $

--- smbd/server.c.orig	2013-07-24 18:53:49.000000000 +0000
+++ smbd/server.c
@@ -1213,6 +1213,9 @@ extern void build_options(bool screen);
 	if (!directory_exist(lp_lockdir()))
 		mkdir(lp_lockdir(), 0755);
 
+	if (!directory_exist(lp_statedir()))
+		mkdir(lp_statedir(), 0755);
+
 	if (is_daemon)
 		pidfile_create("smbd");