From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.33) id 1CgApm-0005fL-HG for qemu-devel@nongnu.org; Sun, 19 Dec 2004 18:51:30 -0500 Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.33) id 1CgApi-0005bR-Ru for qemu-devel@nongnu.org; Sun, 19 Dec 2004 18:51:26 -0500 Received: from [129.104.30.34] (helo=mx1.polytechnique.org) by monty-python.gnu.org with esmtp (Exim 4.34) id 1CgAfA-0000pW-Mp for qemu-devel@nongnu.org; Sun, 19 Dec 2004 18:40:33 -0500 Received: from localhost (localhost [127.0.0.1]) by djali.polytechnique.org (Postfix) with ESMTP id 8CAF0331B0 for ; Mon, 20 Dec 2004 00:40:28 +0100 (CET) Received: from djali.polytechnique.org ([127.0.0.1]) by localhost (localhost [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id 29954-06 for ; Mon, 20 Dec 2004 00:40:28 +0100 (CET) Received: from [84.99.204.141] (unknown [84.99.204.141]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) by ssl.polytechnique.org (Postfix) with ESMTP id 522B4331AF for ; Mon, 20 Dec 2004 00:40:28 +0100 (CET) Message-ID: <41C6118B.3000201@bellard.org> Date: Mon, 20 Dec 2004 00:40:59 +0100 From: Fabrice Bellard MIME-Version: 1.0 Subject: Re: [Qemu-devel] SAMBA support in QEMU References: <413BA018.60601@bellard.org> <6C6BAF58-4A12-11D9-9281-0003939D568C@triplecatproductions.com> <41B8C4E7.5000901@kadu.net> <200412191619.00159.huafbauer@compuserve.de> In-Reply-To: <200412191619.00159.huafbauer@compuserve.de> Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit Reply-To: qemu-devel@nongnu.org List-Id: qemu-devel.nongnu.org List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: qemu-devel@nongnu.org Hi, It would be cleaner to find a way to disable the access to the port 445 (it seems to be an uneeded feature for QEMU and your patch may not work if several instances of QEMU are launched). Can you look at the SAMBA documentation to see if there is an option to do that ? Fabrice. Bernhard Huafbauer wrote: > Hello, > > With this little changes to the samba configuration > file I was able to access the share from the guest os > (winxp-oem-german-nosp, samba 3.0.2a-SUSE) > > Don't know how it would affect some samba 2.x installations ... > > The entry smb ports is because smbd wants to open port 445 > (an I'm not allowed to as user). > > Regards, > Bernhard > > Am Donnerstag, 9. Dezember 2004 22:34 schrieb Adrian Smarzewski: > >>David Still wrote: >> >>>This could also be why SAMBA support does not appear to work on Mac OS >>>X. Version 10.3.6 appears to use SAMBA version 3.0.5. >> >>3.0 was released more than year ago I think... >>Maybe It's more important to support 3.0.x than 2.x now. >> > > > bernhard@wombl:~/projekte/software/qemu> diff -Nru orig/qemu-cvs/qemu/vl.c qemu-cvs/qemu/vl.c > --- orig/qemu-cvs/qemu/vl.c 2004-12-17 21:10:34.000000000 +0100 > +++ qemu-cvs/qemu/vl.c 2004-12-19 15:44:27.501826076 +0100 > @@ -1535,6 +1535,9 @@ > } > fprintf(f, > "[global]\n" > + "private dir=%s\n" > + "smb ports=2445 2139\n" > + "socket address=127.0.0.1\n" > "pid directory=%s\n" > "lock directory=%s\n" > "log file=%s/log.smbd\n" > @@ -1548,6 +1551,7 @@ > smb_dir, > smb_dir, > smb_dir, > + smb_dir, > exported_dir > ); > fclose(f); > > > _______________________________________________ > Qemu-devel mailing list > Qemu-devel@nongnu.org > http://lists.nongnu.org/mailman/listinfo/qemu-devel > > >