Commit 03ffbb69a8e01eded2457ee5873e2fab6f4abf15

Authored by bellard
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
... ... @@ -1476,6 +1476,7 @@ static void smb_exit(void)
1476 1476 unlink(filename);
1477 1477 }
1478 1478 }
  1479 + closedir(d);
1479 1480 rmdir(smb_dir);
1480 1481 }
1481 1482  
... ... @@ -1510,6 +1511,7 @@ void net_slirp_smb(const char *exported_dir)
1510 1511 "lock directory=%s\n"
1511 1512 "log file=%s/log.smbd\n"
1512 1513 "smb passwd file=%s/smbpasswd\n"
  1514 + "security = share\n"
1513 1515 "[qemu]\n"
1514 1516 "path=%s\n"
1515 1517 "read only=no\n"
... ...