# Global parameters
[global]
workgroup = DOMAIN
realm = DOMAIN.LAN
netbios name = DOM
server role = active directory domain controller
dns forwarder = 8.8.8.8
idmap_ldb:use rfc2307 = yes
[netlogon]
path = /var/lib/samba/sysvol/domain.lan/scripts
read only = No
[sysvol]
path = /var/lib/samba/sysvol
read only = No
[test]
directory mode = 0750
path = /SHARES/test
read only = no
Now I've tested various versions since 4.0.0 final til(final version) to 4.1.9, all working with Windows 8.1. Provisioning
Make sure that acl and attr are installed and are set in the /etc/fstab file:
# / was on /dev/sda1 during installation
/dev/sda1 / ext4 user_xattr,acl,barrier=1,errors=remount-ro 0 1
Remount using:
mount -o remount,rw /
I also add the wins option to the /etc/nsswitch.conf file:
hosts: files wins dns
Provisioning a domain with:
and copying the generated /var/lib/samba/private/krb5.conf to /etc