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"
signature.asc
Description: PGP signature