Commit 157777ef3e5821643ef46470bc0fecfda9d06ece
1 parent
f94daedd
Samba 3 support
git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@1312 c046a42c-6fe2-441c-8c8c-71466251a162
Showing
1 changed file
with
4 additions
and
0 deletions
vl.c
@@ -1538,6 +1538,9 @@ void net_slirp_smb(const char *exported_dir) | @@ -1538,6 +1538,9 @@ void net_slirp_smb(const char *exported_dir) | ||
1538 | } | 1538 | } |
1539 | fprintf(f, | 1539 | fprintf(f, |
1540 | "[global]\n" | 1540 | "[global]\n" |
1541 | + "private dir=%s\n" | ||
1542 | + "smb ports=0\n" | ||
1543 | + "socket address=127.0.0.1\n" | ||
1541 | "pid directory=%s\n" | 1544 | "pid directory=%s\n" |
1542 | "lock directory=%s\n" | 1545 | "lock directory=%s\n" |
1543 | "log file=%s/log.smbd\n" | 1546 | "log file=%s/log.smbd\n" |
@@ -1551,6 +1554,7 @@ void net_slirp_smb(const char *exported_dir) | @@ -1551,6 +1554,7 @@ void net_slirp_smb(const char *exported_dir) | ||
1551 | smb_dir, | 1554 | smb_dir, |
1552 | smb_dir, | 1555 | smb_dir, |
1553 | smb_dir, | 1556 | smb_dir, |
1557 | + smb_dir, | ||
1554 | exported_dir | 1558 | exported_dir |
1555 | ); | 1559 | ); |
1556 | fclose(f); | 1560 | fclose(f); |