qemu-devel.nongnu.org archive mirror
 help / color / mirror / Atom feed
From: "Michael Büsch" <m@bues.ch>
To: Michael Tokarev <mjt@tls.msk.ru>
Cc: 727756@bugs.debian.org, qemu-devel <qemu-devel@nongnu.org>
Subject: Re: [Qemu-devel] Bug#727756: qemu: Broken -smb with latest SAMBA package. (Unsupported security=share option)
Date: Sat, 26 Oct 2013 18:44:43 +0200	[thread overview]
Message-ID: <20131026184443.7b1293d8@wiggum> (raw)
In-Reply-To: <526B8921.3060605@msgid.tls.msk.ru>

[-- Attachment #1: Type: text/plain, Size: 1295 bytes --]

On Sat, 26 Oct 2013 13:19:29 +0400
Michael Tokarev <mjt@tls.msk.ru> wrote:

> Thank you for the report and the patch Michael.  Are you sure the result
> is equivalent?

Well, I am far from being an SMB expert. So I can't really say whether this
is equivalent.
I also posted this patch to the qemu-devel list, but didn't get a reply, yet.

I tested this with a Windows XP client. Without this patch the
client will always ask for username and password. Which I am unable to
supply (smbpasswd is empty after all).
With this patch applied, the share works without authentication. And this
is how it used to work in previous versions, too.

> explicitly says that guest is okay, and forces user to the
> right one.  And it should work the same with other versions
> of samba too.

I only tried this with smbd from sid.
My guess is that it would work on older versions, too. But that is
untested.

> Also, which users are "bad" -- will it be possible for our
> user to "clash" with some built-in/known user?

'bad" users seem to be users that are not in the smbpasswd file.
As qemu creates an empty smbpasswd file, all users probably are "bad".
But I'm not sure if there are exceptions to that.

> Cc'ing qemu-devel@ because this needs to be resolved
> upstream too.

[-- Attachment #2: signature.asc --]
[-- Type: application/pgp-signature, Size: 836 bytes --]

  reply	other threads:[~2013-10-26 16:46 UTC|newest]

Thread overview: 8+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
     [not found] <20131026090745.14894.51156.reportbug@localhost>
2013-10-26  9:19 ` [Qemu-devel] Bug#727756: qemu: Broken -smb with latest SAMBA package. (Unsupported security=share option) Michael Tokarev
2013-10-26 16:44   ` Michael Büsch [this message]
2013-11-01  9:32     ` Michael Tokarev
2013-11-01  9:54       ` Michael Büsch
2013-11-01 10:10         ` [Qemu-devel] [PATCH] " Michael Tokarev
2013-11-03 20:06           ` Jan Kiszka
2013-11-04 13:55             ` Michael Tokarev
2013-11-04 14:04               ` Jan Kiszka

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=20131026184443.7b1293d8@wiggum \
    --to=m@bues.ch \
    --cc=727756@bugs.debian.org \
    --cc=mjt@tls.msk.ru \
    --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).