[Pkg-samba-maint] Bug#942433: Bug#942433: Protocol negotiation also fails in QEMU smb shares
Jordi Pujol
jordipujolp at gmail.com
Thu Oct 24 15:38:11 BST 2019
On Thu, Oct 24, 2019 at 10:13 AM Andrew Bartlett <abartlet at samba.org> wrote:
> smbd supports --option= to set smb.conf options, that might be the
> easiest way to fix this.
>
OK, I've tried this:
export SMBDOPTIONS='--option=server min protocol=CORE'
/usr/bin/qemu -name hd-winXP-SP3EN-SE -display gtk,gl=on -net nic -net
user,smb=/home/jpujol/Documents -cpu max -enable-kvm -accel kvm -m 2G
/home/jpujol/Documents/kvm-qemu/hd-winXP-SP3EN-SE.qcow2 &
However, this doesn't work. Looking at qemu sources net/slirp.c, it
creates a hardcoded smb.conf file and calls smbd without caring about
the SMBDOPTIONS environment variable.
It seems that the easiest way and also versatile may be that qemu
Includes the SMBDOPTIONS variable in the exec command ?
Thanks,
Jordi Pujol
More information about the Pkg-samba-maint
mailing list