我在 Ubuntu 18.04 LTS 服务器上设置了支持 ACL 的 Samba,我面临以下情况。
以下是smb.conf内容:
[global]
# naming
workgroup = WORKGROUP
server string = %h server (Samba, Ubuntu)
# networking
disable netbios = yes
local master = no
domain master = no
preferred master = no
# domain accounts
security = ADS
realm = EXAMPLE.COM
encrypt passwords = yes
invalid users = root
idmap config *:backend = tdb
idmap config *:range = 70001-80000
template shell = /bin/bash
winbind nss info = rfc2307 …Run Code Online (Sandbox Code Playgroud)