git.samba.org
/
obnox
/
samba
/
samba-obnox.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
7b1fb08
)
s3: piddir creation fix.
author
Ira Cooper
<ira@samba.org>
Wed, 7 Mar 2012 00:25:16 +0000
(19:25 -0500)
committer
Jeremy Allison
<jra@samba.org>
Wed, 7 Mar 2012 19:00:44 +0000
(11:00 -0800)
Since the piddir got moved from the lockdir by default, the default piddir
wasn't getting created stopping some configurations from running.
Signed-off-by: Jeremy Allison <jra@samba.org>
source3/smbd/server.c
patch
|
blob
|
history
diff --git
a/source3/smbd/server.c
b/source3/smbd/server.c
index e348e0b5e055b120befeaffb8224b211f527fe8a..22b6a7a134bef1306484a72d8a12a67c35fc756e 100644
(file)
--- a/
source3/smbd/server.c
+++ b/
source3/smbd/server.c
@@
-1216,6
+1216,9
@@
extern void build_options(bool screen);
if (!directory_exist(lp_lockdir()))
mkdir(lp_lockdir(), 0755);
+ if (!directory_exist(lp_piddir()))
+ mkdir(lp_piddir(), 0755);
+
if (is_daemon)
pidfile_create("smbd");