qemu-devel.nongnu.org archive mirror
 help / color / mirror / Atom feed
From: "Casper Ti. Vector" <caspervector@gmail.com>
To: qemu-devel@nongnu.org
Cc: "Casper Ti. Vector" <CasperVector@gmail.com>
Subject: [PATCH] net/slirp.c: fix SMB share with Samba 4 and Windows XP guests
Date: Sun,  9 May 2021 23:36:52 +0800	[thread overview]
Message-ID: <f92e58a44fd2b294f6684b9cc521be1f1e78d0dd.1620573930.git.CasperVector@gmail.com> (raw)

cf. <https://askubuntu.com/questions/379044/>

Signed-off-by: Casper Ti. Vector <CasperVector@gmail.com>
---
 net/slirp.c | 1 +
 1 file changed, 1 insertion(+)

diff --git a/net/slirp.c b/net/slirp.c
index 7a4e96d..73042af 100644
--- a/net/slirp.c
+++ b/net/slirp.c
@@ -876,6 +876,7 @@ static int slirp_smb(SlirpState* s, const char *exported_dir,
             "printing = bsd\n"
             "disable spoolss = yes\n"
             "usershare max shares = 0\n"
+            "server min protocol = NT1\n"
             "[qemu]\n"
             "path=%s\n"
             "read only=no\n"
-- 
2.31.1



                 reply	other threads:[~2021-05-09 16:32 UTC|newest]

Thread overview: [no followups] expand[flat|nested]  mbox.gz  Atom feed

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=f92e58a44fd2b294f6684b9cc521be1f1e78d0dd.1620573930.git.CasperVector@gmail.com \
    --to=caspervector@gmail.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).