qemu-devel.nongnu.org archive mirror
 help / color / mirror / Atom feed
From: "John R. Hogerhuis" <jhoger@pobox.com>
To: qemu-devel@nongnu.org
Subject: Re: [Qemu-devel] Read/Write to shares on Windows (XP Pro) host from Windows (2000 Adv) guest.
Date: Wed, 24 Aug 2005 21:26:13 -0700	[thread overview]
Message-ID: <1124943973.3422.52.camel@aragorn> (raw)
In-Reply-To: <20050825022312.75483.qmail@web50509.mail.yahoo.com>

On Wed, 2005-08-24 at 19:23 -0700, Francois Rioux wrote:

> I don't understand why this doesn't work. Is it Windows preventing the
> write is the exchange this a limitation in QEMU or in SLiRP?  As I
> understand it SLiRP translates some tcp headers and acts as a firewall
> preventing incoming calls but autorizes outgoing calls from the guest
> out.  That's why web browsing works in user network mode.  Should't
> file transfer work too?  Is the network file sharing protocol more
> complex than that for writes? Or is that rather a Windows security
> issue?
>  

Could be an authentication issue. Probably you should be typing in the
fully qualified username and password into the net use command

net use z: \\10.0.2.2\MyShare /USER:domain\username password

or just

ctrl-esc->Run->  \\10.0.2.2\MyShare<ENTER> and type the fully qualified
username and password at the prompt.

After making the share connection, what do you get as output when you
just type

net use<ENTER>

Knowing a bit about the NetBT protocol and the stunning quality of the
Slirp NAT code I'm kind of surprised that it works at all. 

CIFS requires some assistance from an application level gateway (ALG) to
work well across a NAT. In the direction you're going (guest to host)
there are less problems, but I think there are still NAT issues with
browsing and name binding; but then you're using IP addresses rather
than names so it may not matter.

If none of the above works, I'd look at it with a snooper on either side
of the connection (in the guest and on the host), and see what packets
are getting dropped (shows up on one side of snooper but not the other)
or improperly NATed (private IP addresses leak out either in headers or
in packet payload onto the host network).

You might also try port forwarding the NetBT (NetBIOS over TCP/IP, aka
CIFS) TCP and UDP ports. See RFCs 1001, 1002 for port numbers.

-- John.

  parent reply	other threads:[~2005-08-25  4:40 UTC|newest]

Thread overview: 13+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2005-08-23 13:28 [Qemu-devel] DMA in Windows 2000/XP/2003 Víctor Córcoles López
2005-08-23 23:47 ` Kazu
2005-08-29  6:56   ` Brad Campbell
2005-08-29 17:10     ` Christian MICHON
2005-08-24 12:56 ` Jan Marten Simons
2005-08-24 15:03   ` André Braga
2005-08-25  2:23     ` [Qemu-devel] Read/Write to shares on Windows (XP Pro) host from Windows (2000 Adv) guest Francois Rioux
2005-08-25  3:20       ` Jim C. Brown
2005-08-25  4:26       ` John R. Hogerhuis [this message]
2005-08-25  6:38       ` [Qemu-devel] Read/Write to shares on Windows (XP Pro) host fromWindows " Kazu
2005-08-25 17:35         ` Francois Rioux
2005-08-25 17:35         ` Francois Rioux
2005-08-25 12:35       ` [Qemu-devel] Read/Write to shares on Windows (XP Pro) host from Windows " Doctor Bill

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=1124943973.3422.52.camel@aragorn \
    --to=jhoger@pobox.com \
    --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).