[Samba] When ad domain machine shutdown, samba can not auth with unix local user
谷雷
guleicarter at gmail.com
Thu Mar 7 10:58:41 UTC 2019
Hi,
My smb.conf as below, my ad domain name is HIKAD1.
[global]
browseable = no
guest ok = no
security = ADS
map to guest = bad user
# disable printers
load printers = no
printing = bsd
printcap name = /dev/null
disable spoolss = yes
encrypt passwords = yes
winbind enum groups = yes
winbind enum users = yes
#acl check permissions = no
#acl map full control = no
create mask = 0775
force create mode = 0775
winbind use default domain = no
winbind offline logon = false
winbind nss info = template
winbind cache time = 60
template shell = /sbin/nologin
template homedir = /var/naslocalhome
idmap config * : backend = tdb
idmap config * : range = 3000-7999
idmap config HIKAD1 : backend = rid
idmap config HIKAD1 : range = 100000-999999
realm = HIKAD1.COM <http://hikad1.com/>
workgroup = HIKAD1
netbios name = numb2
[gltest]
comment =
path = /hdcfs/gltest
public = no
writable = no
valid users = "HIKAD1\aduser",gluser
write list = "HIKAD1\aduser",gluser
directory mask = 0755
More information about the samba
mailing list