[PATCH] net/slirp.c: fix SMB share with Samba 4 and Windows XP guests

Casper Ti. Vector posted 1 patch 2 years, 12 months ago
Test checkpatch passed
Patches applied successfully (tree, apply log)
git fetch https://github.com/patchew-project/qemu tags/patchew/f92e58a44fd2b294f6684b9cc521be1f1e78d0dd.1620573930.git.CasperVector@gmail.com
Maintainers: Jason Wang <jasowang@redhat.com>, Samuel Thibault <samuel.thibault@ens-lyon.org>
net/slirp.c | 1 +
1 file changed, 1 insertion(+)
[PATCH] net/slirp.c: fix SMB share with Samba 4 and Windows XP guests
Posted by Casper Ti. Vector 2 years, 12 months ago
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