• 陪伴互联网运营小白共同探索成长,与IT爱好者共享探索乐趣
  • 建站只为分享,欢迎在PC端文章面打赏支持
  • 使用Ctrl+D 可收藏本站

Debian上的smba配置文件

好玩有趣 陆子方 5天前 35次浏览 0个评论 扫描二维码
文章目录[隐藏]

前言

这个问题一直都存在。群晖的smb在哪台设备都可以,但Debian的smb总是有个别设备访问不到。参考了群晖的smb文件,调整如下:

smb.conf

  1. [global]
  2. workgroup = WORKGROUP
  3. server string = Samba Server
  4. security = user
  5. map to guest = Never
  6. passdb backend = tdbsam
  7. guest ok = no
  8. usershare allow guests = no
  9. encrypt passwords = yes
  10. local master = no
  11. preferred master = no
  12. min protocol = SMB2
  13. max protocol = SMB3
  14.  
  15. # 禁用打印机功能
  16. load printers = no
  17. printing = bsd
  18. printcap name = /dev/null
  19. disable spoolss = yes
  20.  
  21. [Cloud-SSD]
  22. path = /mnt/HYabc/
  23. writable = yes
  24. write list = root
  25. valid users = root
  26. create mask = 0644
  27. directory mask = 0755

 


子方有料原创丨转载请注明原文链接
期待您的评论或捐赠,这是最好的鼓励和支持!
喜欢 (0)
[赞赏使我快乐]
分享 (0)
发表我的评论
取消评论
表情 贴图 加粗 删除线 居中 斜体 签到