[share]
path = /home/share/
writeable = yes
browseable = yes
create mask = 0664
directory mask = 0775
guest ok = yes
public = yes
[homes]
common = Home Directories
browseable = yes
read only = yes
create mask = 0700
directory mask = 0700
valid user =%S

配置文件: /etc/samba/smb.conf

[share]:配置公共访问,不需登录,均可读写,\\IP\share\

[homes]:配置私有访问,使用用户名密码登录,\\IP\{user_name}\

相关文章:

  • 2022-12-23
  • 2021-06-03
  • 2022-12-23
  • 2022-02-19
  • 2022-12-23
  • 2022-12-23
  • 2021-11-20
  • 2021-10-17
猜你喜欢
  • 2021-10-03
  • 2021-10-02
  • 2022-12-23
  • 2021-06-05
  • 2022-12-23
  • 2022-12-23
  • 2021-06-10
相关资源
相似解决方案