安装好samba并在share folder中设置好想要共享的文件夹后。 需要做一下设置才能从windows中访问linux的共享文件夹
if you open /etc/samba/smb.conf, you will notice a section with "; security = user"
If you change that to "secutiry = share", and then go down to the bottom of the file, where the shares are listed, and add the lines:
force user = nobody
force group = nobody
You should be able to connect.This is assuming the Ubuntu side of the share is on the ext3 filesystem - If it is NTFS you may run into the same problem I did, and have to force user/group to your own username.
然后在windows的网上邻居中找到linux的机器 (没有显示的话,可以搜索目标机器的IP地址)
if you open /etc/samba/smb.conf, you will notice a section with "; security = user"
If you change that to "secutiry = share", and then go down to the bottom of the file, where the shares are listed, and add the lines:
force user = nobody
force group = nobody
You should be able to connect.This is assuming the Ubuntu side of the share is on the ext3 filesystem - If it is NTFS you may run into the same problem I did, and have to force user/group to your own username.
然后在windows的网上邻居中找到linux的机器 (没有显示的话,可以搜索目标机器的IP地址)