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.

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1583324

Title:
  Samba won't start when an include statement in smb.conf has a variable
  substitution

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/samba/+bug/1583324/+subscriptions

-- 
ubuntu-bugs mailing list
[email protected]
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to