Samba的共享用户密码是单独配置 - tuhaiyang/soft GitHub Wiki

Samba的共享用户密码是单独配置的,执行下面的命令将root添加为共享用户,同时按照命令提示设置共享密码。

smbpasswd -a root

启动samba
配置完成后,启动Samba服务即可。
/etc/init.d/samba4 start

samba操作命令介绍

  • start Start the service
  • stop Stop the service
  • restart Restart the service
  • reload Reload configuration files (or restart if that fails)
  • enable Enable service autostart
  • disable Disable service autostart

配置兼容安卓老手机
;max protocol = SMB2, same to 'server max protocol'
max protocol = SMB3

;allow android phone, etc.
server min protocol = NT1
client min protocol = NT1

;vista and later
;server min protocol = SMB2

;only allow win8 and later
;server min protocol = SMB3