From: "Michael Büsch" <m@bues.ch>
To: qemu-devel@nongnu.org
Subject: [Qemu-devel] Fix SMB security configuration on newer samba versions
Date: Mon, 21 Oct 2013 13:50:02 +0200 [thread overview]
Message-ID: <20131021135002.45f526f2@wiggum> (raw)
[-- Attachment #1: Type: text/plain, Size: 984 bytes --]
The following changes fix the samba security configuration on
newer samba versions.
samba version 4.0.10-Debian throws this warning:
> WARNING: Ignoring invalid value 'share' for parameter 'security'
Which makes it fall back to security=user without guest login.
Fix this by selecting 'user' explicitly and mapping unknown users to guest logins.
Signed-off-by: Michael Buesch <m@bues.ch>
---
Index: qemu-1.6.1/net/slirp.c
===================================================================
--- qemu-1.6.1.orig/net/slirp.c 2013-10-09 21:20:32.000000000 +0200
+++ qemu-1.6.1/net/slirp.c 2013-10-21 13:49:39.918960448 +0200
@@ -529,7 +529,8 @@
"state directory=%s\n"
"log file=%s/log.smbd\n"
"smb passwd file=%s/smbpasswd\n"
- "security = share\n"
+ "security = user\n"
+ "map to guest = Bad User\n"
"[qemu]\n"
"path=%s\n"
"read only=no\n"
[-- Attachment #2: signature.asc --]
[-- Type: application/pgp-signature, Size: 836 bytes --]
next reply other threads:[~2013-10-21 12:00 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2013-10-21 11:50 Michael Büsch [this message]
2013-10-27 10:50 ` [Qemu-devel] Fix SMB security configuration on newer samba versions Amos Kong
2013-10-27 13:26 ` Michael Büsch
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=20131021135002.45f526f2@wiggum \
--to=m@bues.ch \
--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).