summaryrefslogtreecommitdiff
path: root/net/samba/patches/patch-bp
blob: 73911fde1980c2c321124ee27f825e4a892d33e6 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
$NetBSD: patch-bp,v 1.3.12.1 2007/11/16 15:19:26 ghen Exp $

--- smbd/server.c.orig	2007-09-11 23:17:48.000000000 +0900
+++ smbd/server.c
@@ -1010,6 +1010,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");