diff --git a/roles/samba-dc/templates/smb.conf.j2 b/roles/samba-dc/templates/smb.conf.j2 index 6feb5d8..315ea3f 100644 --- a/roles/samba-dc/templates/smb.conf.j2 +++ b/roles/samba-dc/templates/smb.conf.j2 @@ -4,7 +4,7 @@ realm = {{ krb5_realm }} server role = active directory domain controller workgroup = {{ workgroup }} -{% if samba_is_first_dc and samba_dc_use_rfc2307 %} +{% if samba_dc_use_rfc2307 %} idmap_ldb:use rfc2307 = yes {% endif %}