cookbooks/mu-activedirectory/templates/default/smb.conf.erb
#======================= Global Settings =====================================
[global]
workgroup = <%= @netbios_name.upcase %>
netbios name = <%= @computer_name.upcase %>
#password server = <%= @dcs.join(" ") %>
#wins server = <%= @dcs.join(" ") %>
realm = <%= @domain_name.upcase %>
kerberos method = secrets and keytab
security = ads
idmap config * : range = 10000-5000000
idmap config * : backend = rid
idmap config SENT : range = 10000-5000000
idmap config SENT : default = yes
idmap config SENT : backend = rid
idmap uid = 10000-5000000
idmap gid = 10000-5000000
template homedir = /home/<%= @domain_name.downcase %>/%U
template shell = /bin/bash
#winbind enum users = Yes
#winbind enum groups = Yes
#winbind nested groups = yes
#winbind use default domain = true
#winbind offline logon = false
client use spnego = yes
client ntlmv2 auth = false
encrypt passwords = yes
log file = /var/log/samba/log.%m
debug level = 3
max log size = 5000
# --------------------------- External Configuration File -----------------------------
include = <%= @include_file %>