but smbd with fhs.patch ignores private dir option, tries to
open /var/lib/samba/secrets.tdb instead of
/tmp/qemu-smb.11289/secrets.tdb and fails because this file
is closed for unprivileged user.
well, i've changed the permissions for all smbd-related
files in /var tree, but it also causes a conflict when i'm
running two qemus at the same time.
Package: samba
Version: 3.0.14a-6
qemu uses samba to share host fs in guest m$ os. it runs
smbd by unprivileged user (who runs qemu itself) with own
smb.conf like this:
[global] qemu-smb. 11289 /tmp/qemu- smb.11289 /tmp/qemu- smb.11289 qemu-smb. 11289/log. smbd qemu-smb. 11289/smbpasswd user/SMB_ QEMU
private dir=/tmp/
smb ports=0
socket address=127.0.0.1
pid directory=
lock directory=
log file=/tmp/
smb passwd file=/tmp/
security = share
[qemu]
path=/home/
read only=no
guest ok=yes
but smbd with fhs.patch ignores private dir option, tries to samba/secrets. tdb instead of smb.11289/ secrets. tdb and fails because this file
open /var/lib/
/tmp/qemu-
is closed for unprivileged user.
well, i've changed the permissions for all smbd-related
files in /var tree, but it also causes a conflict when i'm
running two qemus at the same time.