Configure Samba

[global]
# Kerberos, LDAP, and Active Directory support must be built into
# Samba to use "security = ads"
security = ads
# Required for member servers of a domain, "yes" by default
encrypt passwords = yes
# In Active Directory domains, the Kerberos realm is the same
# as the domain's DNS name in uppercase
realm = DOMAIN.EXAMPLE.COM
# Domain to which the server belongs
workgroup = DOMAIN
# Disable NetBIOS; use DNS for name service and TCP/UDP for transport
smb ports = 445
disable netbios = yes
name resolve order = hosts
# Log to /var/log/samba.log instead of /usr/local/samba/var/log.smbd
log file = /var/log/samba.log