s4/smbd/server.c: create /run if missing
authorWilliam Brown <william@blackhats.net.au>
Wed, 18 Apr 2018 09:44:33 +0000 (19:44 +1000)
committerJeremy Allison <jra@samba.org>
Wed, 25 Apr 2018 17:59:13 +0000 (19:59 +0200)
commit0e1125da58970869c34b14163c2db0adb9ac924b
tree3ac1d6ab1ade31ef05ea989a1a1e33340216cc37
parent35f2afe411a3b22fb1befadb3bee8da1bc14753c
s4/smbd/server.c: create /run if missing

In some cases (containers mainly) /var/run may not be present. Instead of
erroring, we should create it at startup.

Signed-off-by: William Brown <william@blackhats.net.au>
Reviewed-by: Alexander Bokovoy <ab@samba.org>
Reviewed-by: Jeremy Allison <jra@samba.org>
source4/smbd/server.c