一.首先确保你已经成功安装上了samba 二.在修改smb.conf文件之前,先拷贝一个备份,然后输入下面的命令修改smb.conf gedit /etc/samba/smb.conf将smb.conf的文件内容改成如下 # This is the main Samba configuration file. You should read the# smb.conf(5) manual page in order to understand the options listed# here.…