On Thu, Oct 24, 2019 at 10:13 AM Andrew Bartlett <abart...@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