With the latest version (4.3.11+dfsg-0ubuntu0.16.04.13) I still get failures when I try to startup samba with an include that contains %U.
I think the difference is that I'm using samba as an AD DC. So the service is started with systemctl (re)start samba-ad-dc instead of the smbd and nmbd services.
The watered down smb.conf is:
[global]
workgroup = WORKGROUP
realm = AD.WORKGROUP.COM
netbios name = SERVER1
server role = active directory domain controller
server services = s3fs, rpc, nbt, wrepl, ldap, cldap, kdc, drepl, winbindd, ntp_signd, kcc, dnsupdate
idmap_ldb:use rfc2307 = yes
include = /etc/samba/smb.conf.%U
[netlogon]
path = /var/lib/samba/sysvol/ad.workgroup.com/scripts
read only = No
[sysvol]
path = /var/lib/samba/sysvol
read only = No
Samba will refuse to start with the above smb.conf unless the include line is removed or changed to a static file.
With the latest version (4.3.11+ dfsg-0ubuntu0. 16.04.13) I still get failures when I try to startup samba with an include that contains %U.
I think the difference is that I'm using samba as an AD DC. So the service is started with systemctl (re)start samba-ad-dc instead of the smbd and nmbd services.
The watered down smb.conf is:
[global] smb.conf. %U
workgroup = WORKGROUP
realm = AD.WORKGROUP.COM
netbios name = SERVER1
server role = active directory domain controller
server services = s3fs, rpc, nbt, wrepl, ldap, cldap, kdc, drepl, winbindd, ntp_signd, kcc, dnsupdate
idmap_ldb:use rfc2307 = yes
include = /etc/samba/
[netlogon] samba/sysvol/ ad.workgroup. com/scripts
path = /var/lib/
read only = No
[sysvol] samba/sysvol
path = /var/lib/
read only = No
Samba will refuse to start with the above smb.conf unless the include line is removed or changed to a static file.