之前安裝 CentOS 6 以前的 Samba 3.x 都可以用notbook 離線登入,但是 CentOS 7 其Samba 4.x 就不能離線登入,是否有大大知道如何解決?
[global]
workgroup = linuxlog
server string = %v
netbios name = dns168
unix charset = utf8
dos charset = cp950
hide dot files = yes
log file = /var/log/samba/log.%m
max log size = 5000
max protocol = NT1
security = user
passdb backend = tdbsam
unix password sync = Yes
passwd program = /usr/bin/passwd %u
passwd chat = *New*password* %n\n *Retype*new*password* %n\n *passwd:*all*authentication*tokens*updated*successfully*
domain master = yes
domain logons = yes
logon script = startup.bat
logon path = \\%L\Profiles\%U
local master = yes
os level = 100
log level = 3
preferred master = yes
wins support = yes
winbind offline logon = yes
dns proxy = no
time server = yes
admin users = root
[homes]
comment = Home Directories
browseable = no
writable = yes
valid users = %S
[netlogon]
comment = Network Logon Service
path = /share/samba/netlogon
guest ok = yes
writable = no
follow symlinks = yes
write list = root
browseable = no
[Profiles]
path = /share/samba/profiles
read only = no
create mask = 0650
directory mask = 0750
browseable = no