]> git.proxmox.com Git - mirror_qemu.git/commit - net/slirp.c
Declare state directory in smb.conf
authorNikolaus Rath <Nikolaus@rath.org>
Wed, 25 Apr 2012 13:57:19 +0000 (09:57 -0400)
committerJan Kiszka <jan.kiszka@siemens.com>
Tue, 1 May 2012 22:08:44 +0000 (19:08 -0300)
commit276eda5735824dd6cf66e1f0951aa8af97354540
tree9f1f612c63c8c64d9af57da89a5231f575d18483
parentde305b1387dad4473ae4cec48467d10d949e0f10
Declare state directory in smb.conf

The smb.conf generated by the userspace networking does not include a state directory
directive. Samba therefore falls back to the default value. Since the user generally
does not have write access to this path, smbd immediately crashes.

The "state directory" option was added in Samba 3.4.0 (commit
http://gitweb.samba.org/?p=samba.git;a=commit;h=7b02e05eb64f3ffd7aa1cf027d10a7343c0da757).

This patch adds the missing option.

Signed-off-by: Nikolaus Rath <Nikolaus@rath.org>
Signed-off-by: Jan Kiszka <jan.kiszka@siemens.com>
net/slirp.c