aboutsummaryrefslogtreecommitdiff
path: root/vl.c
diff options
context:
space:
mode:
authorbellard <bellard@c046a42c-6fe2-441c-8c8c-71466251a162>2005-03-01 21:28:45 +0000
committerbellard <bellard@c046a42c-6fe2-441c-8c8c-71466251a162>2005-03-01 21:28:45 +0000
commit157777ef3e5821643ef46470bc0fecfda9d06ece (patch)
tree8e87c3f9320b721e9551d1fe07ecfb245c589420 /vl.c
parentf94daedd27deff2daf97480dde8b1b02af90a0b6 (diff)
Samba 3 support
git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@1312 c046a42c-6fe2-441c-8c8c-71466251a162
Diffstat (limited to 'vl.c')
-rw-r--r--vl.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/vl.c b/vl.c
index 89efe67ca4..5dcf46ed07 100644
--- a/vl.c
+++ b/vl.c
@@ -1538,6 +1538,9 @@ void net_slirp_smb(const char *exported_dir)
}
fprintf(f,
"[global]\n"
+ "private dir=%s\n"
+ "smb ports=0\n"
+ "socket address=127.0.0.1\n"
"pid directory=%s\n"
"lock directory=%s\n"
"log file=%s/log.smbd\n"
@@ -1551,6 +1554,7 @@ void net_slirp_smb(const char *exported_dir)
smb_dir,
smb_dir,
smb_dir,
+ smb_dir,
exported_dir
);
fclose(f);