r/samba-dc: Use rfc2307 on all DCs

I honestly don't remember why the `use rfc2307` setting was only enabled
on the first DC.  All DCs seem to need this setting in order to use the
UID/GID numbers from the directory, instead of using auto-generated
numbers.
ntfy
Dustin 2021-10-31 21:07:49 -05:00
parent 803fd5ef2a
commit 7bb1eb677e
1 changed files with 1 additions and 1 deletions

View File

@ -4,7 +4,7 @@
realm = {{ krb5_realm }} realm = {{ krb5_realm }}
server role = active directory domain controller server role = active directory domain controller
workgroup = {{ workgroup }} workgroup = {{ workgroup }}
{% if samba_is_first_dc and samba_dc_use_rfc2307 %} {% if samba_dc_use_rfc2307 %}
idmap_ldb:use rfc2307 = yes idmap_ldb:use rfc2307 = yes
{% endif %} {% endif %}