qemu-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Qemu-devel] slirp-smb broken with Samba 4.1


From: Michael Tokarev
Subject: Re: [Qemu-devel] slirp-smb broken with Samba 4.1
Date: Mon, 03 Nov 2014 15:58:35 +0300
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:31.0) Gecko/20100101 Icedove/31.2.0

03.11.2014 15:22, Peter Wu wrote:
[]
> As an aside, would it be possible to override the samba binary at runtime,
> without compiling? Either an envvar (SMBD) or an option (-net
> user,smb=...,smbd=...).

The whole thing needs to be rewritten to use a shell script to create
smb.conf and to call smbd.  It's something I wanted to do for very long
time, the only question is where to put this script so a user can
easily customize it.  In debian we have a rule that anything in /etc
is a conffile, and it gets upgraded (when upgrading the corresponding
package) only if it hasn't been modified by the user.  Everything else
(in /usr/lib, /usr/share etc) gets upgraded unconditionally.  So maybe
storing it in /etc/qemu/run-smbd.sh or somehting like that makes sense.
The rest is a shell code to create smb.conf in a temp dir -- the same
as current code does in qemu, plus all your additions, plus whatever
else might be needed (that script can even query which samba version
is in use and enable one or another option).

But this is definitely not a 2.2 matherial.

Thanks,

/mjt



reply via email to

[Prev in Thread] Current Thread [Next in Thread]