Commit 03ffbb69a8e01eded2457ee5873e2fab6f4abf15
1 parent
a3d4af03
smb config fix for NT
git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@1061 c046a42c-6fe2-441c-8c8c-71466251a162
Showing
1 changed file
with
2 additions
and
0 deletions
vl.c
@@ -1476,6 +1476,7 @@ static void smb_exit(void) | @@ -1476,6 +1476,7 @@ static void smb_exit(void) | ||
1476 | unlink(filename); | 1476 | unlink(filename); |
1477 | } | 1477 | } |
1478 | } | 1478 | } |
1479 | + closedir(d); | ||
1479 | rmdir(smb_dir); | 1480 | rmdir(smb_dir); |
1480 | } | 1481 | } |
1481 | 1482 | ||
@@ -1510,6 +1511,7 @@ void net_slirp_smb(const char *exported_dir) | @@ -1510,6 +1511,7 @@ void net_slirp_smb(const char *exported_dir) | ||
1510 | "lock directory=%s\n" | 1511 | "lock directory=%s\n" |
1511 | "log file=%s/log.smbd\n" | 1512 | "log file=%s/log.smbd\n" |
1512 | "smb passwd file=%s/smbpasswd\n" | 1513 | "smb passwd file=%s/smbpasswd\n" |
1514 | + "security = share\n" | ||
1513 | "[qemu]\n" | 1515 | "[qemu]\n" |
1514 | "path=%s\n" | 1516 | "path=%s\n" |
1515 | "read only=no\n" | 1517 | "read only=no\n" |