Files
configpolicy/group_vars/samba-dc.yml
Dustin C. Hatch ad9fb6798e samba-dc: Omit tls cafile setting
The `tls cafile` setting in `smb.conf` is not necessary.  It is used for
verifying peer certificates for mutual TLS authentication, not to
specify the intermediate certificate authority chain like I thought.

The setting cannot simply be left out, though.  If it is not specified,
Samba will attempt to load a file from a built-in default path, which
will fail, causing the server to crash.  This is avoided by setting the
value to the empty string.
2023-05-10 08:28:49 -05:00

29 lines
586 B
YAML

samba_use_winbind: false
samba_server_role: active directory domain controller
samba_options:
- idmap_ldb:use rfc2307: 'yes'
samba_dc_log_level: 1
samba_shares:
- name: sysvol
path: /var/lib/samba/sysvol
read_only: no
- name: netlogon
path: /var/lib/samba/sysvol/{{ krb5_realm|lower }}/scripts
read_only: no
samba_tls_enabled: true
samba_tls_keyfile: /etc/pki/tls/private/samba.key
samba_tls_certfile: /etc/pki/tls/certs/samba.cer
collectd_processes:
- name: samba
- name: smbd
- name: krb5kdc
- name: winbindd
admin_users:
- 'PYROCUFFLINK\dustin'
- 'PYROCUFFLINK\jenkins'