smb config fix for NT
authorbellard <bellard@c046a42c-6fe2-441c-8c8c-71466251a162>
Mon, 6 Sep 2004 00:14:04 +0000 (00:14 +0000)
committerbellard <bellard@c046a42c-6fe2-441c-8c8c-71466251a162>
Mon, 6 Sep 2004 00:14:04 +0000 (00:14 +0000)
git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@1061 c046a42c-6fe2-441c-8c8c-71466251a162

vl.c

diff --git a/vl.c b/vl.c
index 5fc35ab..e32c6d0 100644 (file)
--- a/vl.c
+++ b/vl.c
@@ -1476,6 +1476,7 @@ static void smb_exit(void)
             unlink(filename);
         }
     }
+    closedir(d);
     rmdir(smb_dir);
 }
 
@@ -1510,6 +1511,7 @@ void net_slirp_smb(const char *exported_dir)
             "lock directory=%s\n"
             "log file=%s/log.smbd\n"
             "smb passwd file=%s/smbpasswd\n"
+            "security = share\n"
             "[qemu]\n"
             "path=%s\n"
             "read only=no\n"