我也本以为界面就能配置好,结果卡了一个多小时,以为防火墙问题,。
刚解决这个问题,原因是登录账号后只会更改自己用户uid对应的smb配置文件。

必备信息:
1.配置文件位于:/etc/samba/users
2.查看用户uid:cat /etc/passwd | cut -d: -f1,3
3.ssh登录,切换root
步骤:
比如我是四个用户,配置生效给了1000。那么其它A用户想生效配置 就需要把1000.share.conf复制给对应用户。(通过前边查询到A用户的uid是1001)
cp /etc/samba/users/1000.share.conf /etc/samba/users/1001.share.conf
sync
systemctl restart smbd