From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from eggs.gnu.org ([2001:4830:134:3::10]:52317) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Va70G-0001Bl-Jw for qemu-devel@nongnu.org; Sat, 26 Oct 2013 12:46:25 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1Va70B-0001Qp-Mc for qemu-devel@nongnu.org; Sat, 26 Oct 2013 12:46:20 -0400 Received: from bues.ch ([80.190.117.144]:40379) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Va70B-0001QW-GO for qemu-devel@nongnu.org; Sat, 26 Oct 2013 12:46:15 -0400 Date: Sat, 26 Oct 2013 18:44:43 +0200 From: Michael =?UTF-8?B?QsO8c2No?= Message-ID: <20131026184443.7b1293d8@wiggum> In-Reply-To: <526B8921.3060605@msgid.tls.msk.ru> References: <20131026090745.14894.51156.reportbug@localhost> <526B8921.3060605@msgid.tls.msk.ru> Mime-Version: 1.0 Content-Type: multipart/signed; micalg=PGP-SHA1; boundary="Sig_/q0hDBQU_tpq3shru1n2s_Gw"; protocol="application/pgp-signature" Subject: Re: [Qemu-devel] Bug#727756: qemu: Broken -smb with latest SAMBA package. (Unsupported security=share option) List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: Michael Tokarev Cc: 727756@bugs.debian.org, qemu-devel --Sig_/q0hDBQU_tpq3shru1n2s_Gw Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: quoted-printable On Sat, 26 Oct 2013 13:19:29 +0400 Michael Tokarev wrote: > Thank you for the report and the patch Michael. Are you sure the result > is equivalent? Well, I am far from being an SMB expert. So I can't really say whether this is equivalent. I also posted this patch to the qemu-devel list, but didn't get a reply, ye= t. I tested this with a Windows XP client. Without this patch the client will always ask for username and password. Which I am unable to supply (smbpasswd is empty after all). With this patch applied, the share works without authentication. And this is how it used to work in previous versions, too. > explicitly says that guest is okay, and forces user to the > right one. And it should work the same with other versions > of samba too. I only tried this with smbd from sid. My guess is that it would work on older versions, too. But that is untested. > Also, which users are "bad" -- will it be possible for our > user to "clash" with some built-in/known user? 'bad" users seem to be users that are not in the smbpasswd file. As qemu creates an empty smbpasswd file, all users probably are "bad". But I'm not sure if there are exceptions to that. > Cc'ing qemu-devel@ because this needs to be resolved > upstream too. --Sig_/q0hDBQU_tpq3shru1n2s_Gw Content-Type: application/pgp-signature; name=signature.asc Content-Disposition: attachment; filename=signature.asc -----BEGIN PGP SIGNATURE----- Version: GnuPG v2.0.22 (GNU/Linux) iQIcBAEBAgAGBQJSa/F+AAoJEPUyvh2QjYsOr04QAJQpVL+FvGIIu0VQxDA2qjce 6WT1FSY1D8r0klWVp2+wIEJjjQZOZvDnlpBmd5H098Cp4OT3QCZS6/cFG2zAVdQ4 K+IuuN/uBUtxlMjjnuEwaFMsDjgl0jVlc+sOUsKDsQYTSqpddbJTTT3Ur2aywL8v cQRzga6Dz1Jz8pmrijvUV/LrxI/9GQWi2+JaWflGRpxDw67mx8sQNjNZDWieXPud POuIzgURe4tZ+1GRmXRk4jqbv1OJ54HLnl6uJO88djN3hY4rxEwqNR6YPIFPW+tx mKJAqUM/Gpfm37r6PDtnOFpyOyS2JGXAn/qgdcVOQFZlFMOkpy+6Ko1/YlF/tw6s arzV/hsUt9/O89mCxsBI4rbNQc+VOxocf2Upq/A/464IsKYZHcP8BKHCNF68Ka0Z wDP1R0EsYRcLooN99Mkm99nCkM2uIToirxnHutF1xAwgkWYWnWQmJvyrxMVWQGau J4tAbafdYzSomEtZ1tDRijlGXpjFR/kbyWptMubDRst7bT+VLj2C6+3DJdTRvq6Z yT9/ck/JzJtGSYMApmYXyauRTfGInJHFcX5qkQCKjIf8AapB+4/jdnDbfZy8h7oR 1sBcfM+fdxo+otUYNVvJrVPh3Z0TEowxzVrXqt4WwNxrxmr9RpMinvyHMxehN9FU eLenJTGcS6Khmon+w7U+ =Oq20 -----END PGP SIGNATURE----- --Sig_/q0hDBQU_tpq3shru1n2s_Gw--