Windows 跟 Linux 文件共享:Samba 设置

用 Samba  服务器

https://my.oschina.net/u/3783115/blog/1919892?from=timeline

https://blog.51cto.com/13728740/2137366

 

有些不能联网,就在系统里搜一下

find  /   -name samba*

rpm -ivh  xxx 安装

在  /etc/samba/smb.conf

[global]
workgroup = SAMBA
security = user

passdb backend = tdbsam

printing = cups
printcap name = cups
load printers = yes
cups options = raw
map to guest = Bad User

[home]
comment = My test
path = /mnt/
public = yes
browseable = yes
writable = yes
create mask = 0664
directory mask = 0775
posted @ 2019-12-12 20:43  马克图  阅读(329)  评论(0编辑  收藏  举报