qemu-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Qemu-devel] SAMBA support in QEMU


From: Fabrice Bellard
Subject: Re: [Qemu-devel] SAMBA support in QEMU
Date: Mon, 20 Dec 2004 00:40:59 +0100
User-agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.7.3) Gecko/20040913

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.



address@hidden:~/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
address@hidden
http://lists.nongnu.org/mailman/listinfo/qemu-devel








reply via email to

[Prev in Thread] Current Thread [Next in Thread]