From: Fabrice Bellard <fabrice@bellard.org>
To: qemu-devel@nongnu.org
Subject: Re: [Qemu-devel] SAMBA support in QEMU
Date: Wed, 08 Dec 2004 22:59:29 +0100 [thread overview]
Message-ID: <41B77941.9010508@bellard.org> (raw)
In-Reply-To: <41B717E6.5080600@kadu.net>
Adrian Smarzewski wrote:
> Adrian Smarzewski wrote:
>
>> I can run it as root only. What files must be writable for user to run
>> smbd via qemu?
>
>
> bash-2.05b$ /usr/sbin/smbd -i
> smbd version 3.0.8 started.
> Copyright Andrew Tridgell and the Samba Team 1992-2004
> file_init: Information only: requested 10000 open files, 1004 are
> available.
> bind failed on port 445 socket_addr = 0.0.0.0.
>
> I think smb support is "root-only" or is near it :(
> Any ideas?
QEMU gives specific commands to smbd so that it can be run as non root
(in particular, it uses stdio to communicate with smbd instead of a
priviledged socket with a port < 1024). I think your problem comes from
the fact that you use smbd version 3. I only tested QEMU with the version 2.
The solution would be either to support version 3 or to include the smbd
code in QEMU so that we can be sure it behaves as expected.
Fabrice.
next prev parent reply other threads:[~2004-12-08 22:09 UTC|newest]
Thread overview: 30+ messages / expand[flat|nested] mbox.gz Atom feed top
2004-09-05 23:24 [Qemu-devel] SAMBA support in QEMU Fabrice Bellard
2004-09-06 0:30 ` [Qemu-devel] " Ronald
2004-09-06 17:02 ` Ronald
2004-09-06 17:16 ` Ronald
2004-09-10 12:47 ` Ronald
2004-09-10 14:37 ` Johannes Schindelin
2004-09-10 16:22 ` [Qemu-devel] " Ronald
2004-09-06 18:05 ` [Qemu-devel] " John R. Hogerhuis
2004-09-06 19:06 ` Mikesch Nepomuk
2004-09-11 7:12 ` [Qemu-devel] " Mark.Jonckheere
2004-09-11 13:19 ` Andreas Bollhalder
2004-09-06 19:46 ` [Qemu-devel] " Laurent Amon
2004-12-07 14:45 ` Adrian Smarzewski
2004-12-07 16:50 ` Johannes Schindelin
2004-12-08 9:26 ` Adrian Smarzewski
2004-12-08 12:36 ` Adrian Smarzewski
2004-12-08 12:56 ` Jens Arm
2004-12-08 13:04 ` Jens Arm
2004-12-08 21:56 ` Fabrice Bellard
2004-12-08 15:04 ` Adrian Smarzewski
2004-12-08 18:21 ` Felipe Sanchez
2004-12-08 21:59 ` Fabrice Bellard [this message]
2004-12-09 9:11 ` carlo.andreoli
2004-12-09 18:44 ` David Still
2004-12-09 21:34 ` Adrian Smarzewski
2004-12-19 15:18 ` Bernhard Huafbauer
2004-12-19 23:40 ` Fabrice Bellard
2004-12-20 21:14 ` Bernhard Huafbauer
2004-12-20 23:14 ` Fabrice Bellard
2004-12-21 22:13 ` Bernhard Huafbauer
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=41B77941.9010508@bellard.org \
--to=fabrice@bellard.org \
--cc=qemu-devel@nongnu.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).