qemu-devel.nongnu.org archive mirror
 help / color / mirror / Atom feed
From: Alain Kalker <miki@dds.nl>
To: qemu-devel@nongnu.org
Subject: [Qemu-devel] [Bug 1451067] [NEW] -smb option requires full path for Samba sharing to work
Date: Sat, 02 May 2015 18:27:23 -0000	[thread overview]
Message-ID: <20150502182723.29231.13701.malonedeb@soybean.canonical.com> (raw)
In-Reply-To: 20150502182723.29231.13701.malonedeb@soybean.canonical.com

Public bug reported:

This issue has been reported on qemu-devel a looong time ago:
https://lists.gnu.org/archive/html/qemu-devel/2005-12/msg00141.html

QEMU version 2.2.1-4 on Arch Linux x86_64

Steps to reproduce:

host$ mkdir share
host$ chmod o+rwx share
host$ qemu <other options> -smb share

vm$ smbclient //10.0.2.4/qemu -N
smbclient: Can't load /etc/samba/smb.conf - run testparm to debug it
Domain=[WORKGROUP] OS=[Windows 6.1] Server=[Samba 4.2.1]
tree connect failed: NT_STATUS_BAD_NETWORK_NAME
vm$ poweroff

Workaround:

host$ qemu <other options> -smb /full/path/to/share

vm$ $ smbclient //10.0.2.4/qemu -N
smbclient: Can't load /etc/samba/smb.conf - run testparm to debug it
Domain=[WORKGROUP] OS=[Windows 6.1] Server=[Samba 4.2.1]
smb: \> ls
  .                                   D        0  Sat May  2 19:57:31 2015
  ..                                  D        0  Sat May  2 19:57:31 2015

		961302540 blocks of size 1024. 637557248 blocks available
smb: \> quit

Please, please fix this gotcha, whether in the documentation or in code.
it can cause some serious bouts of hair-pulling.

-Alain

** Affects: qemu
     Importance: Undecided
         Status: New

-- 
You received this bug notification because you are a member of qemu-
devel-ml, which is subscribed to QEMU.
https://bugs.launchpad.net/bugs/1451067

Title:
  -smb option requires full path for Samba sharing to work

Status in QEMU:
  New

Bug description:
  This issue has been reported on qemu-devel a looong time ago:
  https://lists.gnu.org/archive/html/qemu-devel/2005-12/msg00141.html

  QEMU version 2.2.1-4 on Arch Linux x86_64

  Steps to reproduce:

  host$ mkdir share
  host$ chmod o+rwx share
  host$ qemu <other options> -smb share

  vm$ smbclient //10.0.2.4/qemu -N
  smbclient: Can't load /etc/samba/smb.conf - run testparm to debug it
  Domain=[WORKGROUP] OS=[Windows 6.1] Server=[Samba 4.2.1]
  tree connect failed: NT_STATUS_BAD_NETWORK_NAME
  vm$ poweroff

  Workaround:

  host$ qemu <other options> -smb /full/path/to/share

  vm$ $ smbclient //10.0.2.4/qemu -N
  smbclient: Can't load /etc/samba/smb.conf - run testparm to debug it
  Domain=[WORKGROUP] OS=[Windows 6.1] Server=[Samba 4.2.1]
  smb: \> ls
    .                                   D        0  Sat May  2 19:57:31 2015
    ..                                  D        0  Sat May  2 19:57:31 2015

  		961302540 blocks of size 1024. 637557248 blocks available
  smb: \> quit

  Please, please fix this gotcha, whether in the documentation or in
  code. it can cause some serious bouts of hair-pulling.

  -Alain

To manage notifications about this bug go to:
https://bugs.launchpad.net/qemu/+bug/1451067/+subscriptions

       reply	other threads:[~2015-05-02 18:35 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2015-05-02 18:27 Alain Kalker [this message]
2015-05-02 18:36 ` [Qemu-devel] [Bug 1451067] Re: -smb option requires full path for Samba sharing to work Alain Kalker
2021-04-22  4:52 ` Thomas Huth
2021-06-22  4:17 ` Launchpad Bug Tracker

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=20150502182723.29231.13701.malonedeb@soybean.canonical.com \
    --to=miki@dds.nl \
    --cc=1451067@bugs.launchpad.net \
    --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).